From 5c310392c2396b3615fcc14481cceda164918b14 Mon Sep 17 00:00:00 2001 From: zhaoqifeng Date: Thu, 22 Apr 2021 14:42:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=9A=E5=91=98=E8=AE=A4=E8=AF=81=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF=E5=B1=85=E6=B0=91=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/epmet/modules/feign/EpmetUserFeignClient.java | 9 ++++++++- .../java/com/epmet/controller/UserRoleController.java | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/feign/EpmetUserFeignClient.java b/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/feign/EpmetUserFeignClient.java index e1e2753ba4..8c2c28901d 100644 --- a/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/feign/EpmetUserFeignClient.java +++ b/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/feign/EpmetUserFeignClient.java @@ -87,6 +87,13 @@ public interface EpmetUserFeignClient { @PostMapping("/epmetuser/staffrole/staffsinrole") Result> getStaffsInRole(@RequestBody StaffRoleFormDTO staffRoleFormDTO); - @PostMapping("/epmetuser/userrole/sgetresidentrole") + /** + * 获取用户居民权限 + * @author zhaoqifeng + * @date 2021/4/22 14:41 + * @param formDTO + * @return com.epmet.commons.tools.utils.Result + */ + @PostMapping("/epmetuser/userrole/getresidentrole") Result getUserResidentRole(@RequestBody UserResiInfoFormDTO formDTO); } diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/UserRoleController.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/UserRoleController.java index b753b1a6d7..8752f909d6 100644 --- a/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/UserRoleController.java +++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/UserRoleController.java @@ -134,6 +134,13 @@ public class UserRoleController { return userRoleService.getUserRoleInfoByUserId(userId); } + /** + * 获取用户居民权限 + * @author zhaoqifeng + * @date 2021/4/22 14:41 + * @param formDTO + * @return com.epmet.commons.tools.utils.Result + */ @PostMapping("getresidentrole") public Result getUserResidentRole(@RequestBody UserResiInfoFormDTO formDTO) { return new Result().ok(userRoleService.getUserResidentRole(formDTO.getCustomerId(), formDTO.getUserId()));