diff --git a/pom.xml b/pom.xml index a0cf3bd..5e66368 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.imyeyu.timiserverapi TimiServerAPI - 1.0.6 + 1.0.8 jar TimiServerAPI imyeyu.com API diff --git a/src/main/java/com/imyeyu/api/modules/common/controller/AttachmentController.java b/src/main/java/com/imyeyu/api/modules/common/controller/AttachmentController.java index 6eb7dec..28712f7 100644 --- a/src/main/java/com/imyeyu/api/modules/common/controller/AttachmentController.java +++ b/src/main/java/com/imyeyu/api/modules/common/controller/AttachmentController.java @@ -208,7 +208,6 @@ public class AttachmentController { } @AOPLog - @RequestRateLimit @IgnoreGlobalReturn @GetMapping({"/read/{id}", "/download/{id}"}) public void readById(@PathVariable String id, @RequestParam(required = false) Integer thumbWidth, @RequestParam(required = false) Integer thumbHeight) throws UnsupportedEncodingException { diff --git a/src/main/java/com/imyeyu/api/modules/gao/service/implement/GaoCustomerServiceImplement.java b/src/main/java/com/imyeyu/api/modules/gao/service/implement/GaoCustomerServiceImplement.java index 3d5ec18..471526e 100644 --- a/src/main/java/com/imyeyu/api/modules/gao/service/implement/GaoCustomerServiceImplement.java +++ b/src/main/java/com/imyeyu/api/modules/gao/service/implement/GaoCustomerServiceImplement.java @@ -434,7 +434,12 @@ public class GaoCustomerServiceImplement extends AbstractEntityService detailCustomerList = new ArrayList<>(); + detailCustomerList.add(customer); + if (customer.getIntroducerCustomer() != null) { + detailCustomerList.add(customer.getIntroducerCustomer()); + } + loadAttachmentList(detailCustomerList); } private void loadListTransient(List customerList) {