mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
feat(RemoteDataScopeService): 修改getRoleList参数类型为List<String>以支持字符串类型roleId
- 将getRoleList方法的roleIdList参数类型从List<Long>改为List<String> - 保持getDescendantList方法的deptId参数类型仍为Long不变
This commit is contained in:
1 parent
0b939f3d57
commit
efd195ae37
1 file changed
+16
-14
+16
-14
@@ -38,20 +38,22 @@ import java.util.List;
|
||||
@FeignClient(contextId = "remoteDataScopeService", value = ServiceNameConstants.UPMS_SERVICE)
|
||||
public interface RemoteDataScopeService {
|
||||
|
||||
/**
|
||||
* 通过角色ID 查询角色列表
|
||||
* @param roleIdList 角色ID
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/role/getRoleList")
|
||||
R<List<SysRole>> getRoleList(@RequestBody List<Long> roleIdList);
|
||||
/**
|
||||
* 通过角色ID 查询角色列表
|
||||
*
|
||||
* @param roleIdList 角色ID
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/role/getRoleList")
|
||||
R<List<SysRole>> getRoleList(@RequestBody List<String> roleIdList);
|
||||
|
||||
/**
|
||||
* 获取子级部门
|
||||
* @param deptId 部门ID
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/dept/getDescendantList/{deptId}")
|
||||
R<List<SysDept>> getDescendantList(@PathVariable("deptId") Long deptId);
|
||||
/**
|
||||
* 获取子级部门
|
||||
*
|
||||
* @param deptId 部门ID
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/dept/getDescendantList/{deptId}")
|
||||
R<List<SysDept>> getDescendantList(@PathVariable("deptId") Long deptId);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user