【修改】完善部门通过feign调用的接口
This commit is contained in:
+2
@@ -425,6 +425,7 @@ public interface ISysBaseAPI extends CommonAPI {
|
||||
* @param departId 部门id
|
||||
* @return JSONObject
|
||||
*/
|
||||
@GetMapping("/sys/api/listParentDepartsByDepId")
|
||||
List<SysDepartTreeModel> listParentDepartsByDepId(@RequestParam("departId") String departId);
|
||||
|
||||
/**
|
||||
@@ -434,6 +435,7 @@ public interface ISysBaseAPI extends CommonAPI {
|
||||
* @param departId 部门id
|
||||
* @return JSONObject
|
||||
*/
|
||||
@GetMapping("/sys/api/listSonDepartsByDepId")
|
||||
List<SysDepartTreeModel> listSonDepartsByDepId(@RequestParam("departId") String departId);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user