diff --git a/kn-service/biz-vordm/src/main/java/com/kening/vordm/controller/ApplyForAdminController.java b/kn-service/biz-vordm/src/main/java/com/kening/vordm/controller/ApplyForAdminController.java index a8ee7e3..bfbc72d 100644 --- a/kn-service/biz-vordm/src/main/java/com/kening/vordm/controller/ApplyForAdminController.java +++ b/kn-service/biz-vordm/src/main/java/com/kening/vordm/controller/ApplyForAdminController.java @@ -26,8 +26,8 @@ public class ApplyForAdminController { * @return */ @PostMapping("/auditAnApplication") - public void auditAnApplication (@RequestBody ApplyForAdmin applyForAdmin){ - applyForAdminServer.auditAnApplication(applyForAdmin); + public R auditAnApplication (@RequestBody ApplyForAdmin applyForAdmin){ + return R.status(applyForAdminServer.auditAnApplication(applyForAdmin)); } @PostMapping("/SendAnApplication") diff --git a/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/ApplyForAdminServer.java b/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/ApplyForAdminServer.java index abc2ffe..5898ec8 100644 --- a/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/ApplyForAdminServer.java +++ b/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/ApplyForAdminServer.java @@ -11,5 +11,5 @@ public interface ApplyForAdminServer extends IService { void updateApplyForAdminData(ApplyForAdmin applyForAdmin); - void auditAnApplication(ApplyForAdmin applyForAdmin); + Boolean auditAnApplication(ApplyForAdmin applyForAdmin); } diff --git a/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/impl/ApplyForAdminServerImpl.java b/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/impl/ApplyForAdminServerImpl.java index 56c8d87..5aa411d 100644 --- a/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/impl/ApplyForAdminServerImpl.java +++ b/kn-service/biz-vordm/src/main/java/com/kening/vordm/service/impl/ApplyForAdminServerImpl.java @@ -58,7 +58,7 @@ public class ApplyForAdminServerImpl extends ServiceImpl