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()));