路由
This commit is contained in:
parent
48c2197eeb
commit
b91b033372
@ -19,19 +19,19 @@ import java.util.List;
|
||||
*/
|
||||
@FeignClient(name = "ebike-user")
|
||||
public interface StaffFeignClient {
|
||||
@GetMapping("user/roles/roleCodeList")
|
||||
@GetMapping("roles/roleCodeList")
|
||||
JsonResult<List<String>> roleCodeList(@RequestParam("staffId")String staffId);
|
||||
|
||||
@GetMapping("user/permissions/permCodeList")
|
||||
@GetMapping("permissions/permCodeList")
|
||||
JsonResult<List<String>> permCodeList(@RequestParam("staffId")String staffId);
|
||||
|
||||
@GetMapping("user/staff/getInfoByToken")
|
||||
@GetMapping("staff/getInfoByToken")
|
||||
JsonResult<StaffFeign> getInfoByToken(@RequestParam("token") String token);
|
||||
|
||||
@PostMapping("user/staff/getStaffsByIds")
|
||||
@PostMapping("staff/getStaffsByIds")
|
||||
JsonResult<List<StaffFeign>> getStaffsByIds(@RequestBody StaffIds staffIds);
|
||||
|
||||
@PostMapping("user/staff/getStaffsByLoginOrg")
|
||||
@PostMapping("staff/getStaffsByLoginOrg")
|
||||
JsonResult<Page<StaffFeign>> getStaffsByLoginOrg(PageParam pageParam, @RequestParam("token") String token);
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user