Преглед на файлове

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
wanjing преди 1 година
родител
ревизия
cd4d0311bd
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/DeptController.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/DeptController.java Целия файл

@@ -39,8 +39,8 @@ public class DeptController {
/**
* 根据id查询子部门列表
*/
@GetMapping("/child/list/{id}")
public JsonResult getChildList(@PathVariable("id") String id) {
@GetMapping(value= {"/child/list/{id}", "/child/list"})
public JsonResult getChildList(@PathVariable(value="id", required=false) String id ) {
// log.info("进入获取子部门分页列表列表接口, id:{}", id);
return deptService.getChildList(id);
}

Loading…
Отказ
Запис