This commit is contained in:
attiya 2025-05-15 14:13:57 +08:00
parent 48c2197eeb
commit b91b033372

View File

@ -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);
}