From c3c1f64c7fe9d6dcefdccc18c691bf013465b492 Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期六, 02 七月 2022 16:52:24 +0800 Subject: [PATCH] 调整 --- safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/MenuController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/MenuController.java b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/MenuController.java index 6bd9dd2..07fc726 100644 --- a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/MenuController.java +++ b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/accountController/MenuController.java @@ -1,6 +1,6 @@ package com.gkhy.safePlatform.accountController; -import com.gkhy.safePlatform.account.rpc.apimodel.UserAccountService; +import com.gkhy.safePlatform.account.rpc.apimodel.AccountMenuService; import com.gkhy.safePlatform.account.rpc.apimodel.model.req.MenuAddRPCReqDTO; import com.gkhy.safePlatform.account.rpc.apimodel.model.resp.MenuModRPCReqDTO; import com.gkhy.safePlatform.commons.enums.ResultCodes; @@ -18,7 +18,7 @@ public class MenuController { @DubboReference(check = false) - private UserAccountService userAccountService; + private AccountMenuService accountMenuService; /** @@ -27,7 +27,7 @@ @RequestMapping(value = "/add",method = RequestMethod.POST) public ResultVO<String> addMenu(Principal principal, @RequestBody MenuAddRPCReqDTO menuAddDto) { String userId = principal.getName(); - return userAccountService.addMenu(Long.valueOf(userId), menuAddDto); + return accountMenuService.addMenu(Long.valueOf(userId), menuAddDto); } @@ -37,7 +37,7 @@ @RequestMapping(value = "/mod",method = RequestMethod.POST) public ResultVO<String> addMenu(Principal principal, @RequestBody MenuModRPCReqDTO menuModDto) { String userId = principal.getName(); - return userAccountService.modMenu(Long.valueOf(userId), menuModDto); + return accountMenuService.modMenu(Long.valueOf(userId), menuModDto); } } -- Gitblit v1.9.2