From 07ba29f8b474c102cda0e1e5549b1ca1c90ca16b Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期四, 05 八月 2021 18:55:35 +0800 Subject: [PATCH] Merge branch 'txb' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java | 36 +++++++++++++++++++++++++++++------- 1 files changed, 29 insertions(+), 7 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java index 14fa1be..09910e3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java @@ -4,10 +4,7 @@ import com.panzhihua.common.model.dtos.community.ExportSpecialUserDTO; import com.panzhihua.common.model.dtos.community.ExportUserDTO; import com.panzhihua.common.model.dtos.community.NoticeReadDTO; -import com.panzhihua.common.model.dtos.grid.EventGridMemberAddDTO; -import com.panzhihua.common.model.dtos.grid.EventGridMemberEditStatusDTO; -import com.panzhihua.common.model.dtos.grid.EventGridMemberPassResetDTO; -import com.panzhihua.common.model.dtos.grid.PageEventGridMemberRelationDTO; +import com.panzhihua.common.model.dtos.grid.*; import com.panzhihua.common.model.dtos.user.*; import com.panzhihua.common.model.vos.*; import com.panzhihua.common.model.vos.shop.ShopStoreVO; @@ -328,7 +325,7 @@ * @return 协议集合 */ @PostMapping("listagreement") - R listAgreement(); + R listAgreement(@RequestParam("communityId")Long communityId); /** * 编辑用户协议 @@ -623,7 +620,7 @@ * @param id * @return */ - @DeleteMapping("common/data/special/delete") + @DeleteMapping("common/data/special/delete1") R deleteSpecialInputUser(@RequestParam(value = "id") Long id); /** @@ -735,7 +732,7 @@ * @return 修改结果 */ @PostMapping("editGridUser") - R editGridUser(@RequestBody EventGridMemberAddDTO eventGridMemberAddDTO); + R editGridUser(@RequestBody EventGridMemberEditAdminDTO eventGridMemberAddDTO); /** * 重置网格员密码 @@ -760,4 +757,29 @@ */ @PostMapping("gridMemberEditStatus") R gridMemberEditStatus(@RequestBody EventGridMemberEditStatusDTO gridMemberEditDTO); + + @GetMapping("big/no/tip") + R noTips(@RequestParam("userId") Long userId); + + /** + * 查询社区的收益说明 + * @param communityId 社区id + * @return 收益说明 + */ + @PostMapping("listagreements") + R listAgreements(@RequestParam("communityId")Long communityId); + + @PostMapping("user/getUserGrids") + R getGridIsOk(@RequestParam("userId")Long userId); + + @GetMapping("getGridsMemberList") + R getGridsMemberList(@RequestParam("communityId")Long communityId); + + /** + * 根据用户id查询用户openid + * @param userId 用户id + * @return openid + */ + @GetMapping("getUserOpenId") + R getUserOpenId(@RequestParam("userId")Long userId); } -- Gitblit v1.7.1