ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java
@@ -186,8 +186,8 @@ * 家根网 */ @GetMapping("/root") public AjaxResult listAllPeopleWithTree(){ return zInfoUserService.listWithTree(); public AjaxResult listAllPeopleWithTree(@PathParam("depth") Integer depth){ return zInfoUserService.listWithTree(depth); } @@ -208,6 +208,14 @@ return zInfoUserService.addParent(fatherId,motherId); } /** * 根据本人id查询本人信息以及配偶信息 */ @GetMapping("/listMyself/{id}") public AjaxResult listMySelfAndSpouse(@PathVariable("id") Long id){ return zInfoUserService.listMySelfAndSpouse(id); }