| | |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | |
| | | /** |
| | | * 权限组菜单关联 Feign 客户端 |
| | | */ |
| | | @Component |
| | | @FeignClient( |
| | | contextId = "SysGroupMenuClient", |
| | | value = ServiceNameConstantsEnum.XP_ACCOUNT_SERVICE, |
| | |
| | | */ |
| | | @PostMapping("/logan/groupMenu/selectMenuIdsByGroupId") |
| | | R<List<Long>> selectMenuIdsByGroupId(@RequestParam("groupId") Long groupId); |
| | | |
| | | |
| | | /** |
| | | * 查询是否需要手机号脱敏 |
| | | * @param phoneNumber |
| | | * @return |
| | | */ |
| | | @GetMapping("/logan/inner/group/getPhoneDesensitization") |
| | | R<String> getPhoneDesensitization(@RequestParam String phoneNumber) ; |
| | | } |