| | |
| | | import com.xiaopeng.api.vo.account.XpOperationsUserWithRoleVO; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | */ |
| | | @GetMapping("/inner/xp-operations-role/getXpOperationsRoleByRoleId") |
| | | R<List<XpOperationsRole>> getXpOperationsRoleByRoleId(@RequestParam("roleId") Long roleId); |
| | | |
| | | /** |
| | | * 获取所有启用状态的运维用户 |
| | | * @return 启用状态的用户列表 |
| | | */ |
| | | @GetMapping("/inner/xpOperationsUser/listAllEnabled") |
| | | R<List<XpOperationsUser>> listAllEnabled(); |
| | | |
| | | /** |
| | | * 查询角色关联的运维人员 |
| | | * @param roleIds |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/xp-operations-role/getXpOperationsRoleByRoleIds") |
| | | R<List<XpOperationsRole>> getXpOperationsRoleByRoleIds(@RequestBody List<Long> roleIds); |
| | | |
| | | /** |
| | | * 根据手机号模糊查询用户(内部接口) |
| | | * |
| | | * @param phoneNumber 手机号 |
| | | * @return 用户信息列表 |
| | | */ |
| | | @PostMapping("/inner/xpOperationsUser/getByPhoneNumber") |
| | | public R<List<XpOperationsUser>> getByPhoneNumber(@RequestParam String phoneNumber); |
| | | } |