Sfoglia il codice sorgente

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
wanjing 1 anno fa
parent
commit
cd4d0311bd
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 Vedi File

@@ -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…
Annulla
Salva