From b39a20d6b37f96e1d44c6c194ce56bd30593e3ad Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 29 八月 2024 22:20:31 +0800 Subject: [PATCH] 登录用用户昵称了 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java index e4e2075..b2ba6e9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZInfoUserController.java @@ -230,6 +230,14 @@ return AjaxResult.success(satisfyIds); } + /** + * 鏍规嵁鐢ㄦ埛id鍒ゆ柇鏄惁鏄瓙瀛� uid:闀胯緢id,tpfid:鎴戣嚜宸辩殑zinfoid + */ + @GetMapping("/uidUJd/{uid}/{tpfid}") + public AjaxResult findByUidAndUid2(@PathVariable("uid") Long uid ,@PathVariable("tpfid") Long tpfid){ + return AjaxResult.success( zInfoUserService.findByuid(uid,tpfid)); + } + @GetMapping("/sex/{sex}") public AjaxResult findBySex(@PathVariable("sex") Integer sex) { @@ -284,16 +292,16 @@ * 瀹舵牴缃� */ @GetMapping("/root") - public AjaxResult listAllPeopleWithTree(@PathParam("depth") Integer depth){ - return zInfoUserService.listWithTree(depth); + public AjaxResult listAllPeopleWithTree(@PathParam("depth") Integer depth,@PathParam("clanId") Integer clanId){ + return zInfoUserService.listWithTree(depth, clanId); } /** * 鏍规嵁瀹跺涵鎴愬憳鎵惧埌鎵�鏈変汉 */ @GetMapping("/allFamInfo") - public AjaxResult listAllFamilyPeople() + public AjaxResult listAllFamilyPeople(@PathParam("clanId") Integer clanId) { - return zInfoUserService.listAllFamilyPeople(); + return zInfoUserService.listAllFamilyPeople(clanId); } /** -- Gitblit v1.9.1