From dcee2ec067eb4b5e03f7328c55810af0d38e312f Mon Sep 17 00:00:00 2001 From: nihaotian Date: Mon, 14 Oct 2024 14:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=AE=E9=80=9A=E7=94=A8=E6=88=B7=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E6=88=90=E4=B8=BA=E7=AE=A1=E7=90=86=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/kening/vordm/controller/ApplyForAdminController.java | 4 ++-- .../java/com/kening/vordm/service/ApplyForAdminServer.java | 2 +- .../kening/vordm/service/impl/ApplyForAdminServerImpl.java | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) 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