【修改】完善部门通过feign调用的接口

This commit is contained in:
mazhichao
2021-03-25 14:05:43 +08:00
parent b52902fee7
commit abfe801623
2 changed files with 30 additions and 1 deletions
@@ -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);