From 987d3d6f0a4212c553b610882ebc6e22a225c6e7 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期六, 18 九月 2021 18:16:38 +0800 Subject: [PATCH] 便民服务 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java | 33 ++++++++++++++++++++++++++++++++- 1 files changed, 32 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java index aab1a9f..d7f852a 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java @@ -5,6 +5,8 @@ import com.panzhihua.common.model.dtos.PageDTO; import com.panzhihua.common.model.dtos.community.ExportUserDTO; import com.panzhihua.common.model.dtos.community.NoticeReadDTO; +import com.panzhihua.common.model.dtos.community.convenient.ConvenientMerchantDTO; +import com.panzhihua.common.model.dtos.community.convenient.DisableOrEnableConvenientMerchantDTO; import com.panzhihua.common.model.dtos.grid.*; import com.panzhihua.common.model.dtos.user.PageFeedBackDTO; import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; @@ -514,7 +516,7 @@ * * @return 标签集合 */ - R listTags(Long communityId); + R listTags(); /** * 通过账号查询用户信息 @@ -678,4 +680,33 @@ */ R getUserListByCommunityId(Long communityId); + /** + * 检查当前用户是否是社区工作人员 + * @param phone + * @param communityId + * @return + */ + R checkCurrentUserIsTeam(String phone, Long communityId); + + /** + * 便民服务新增商家账号 + * @param convenientMerchantDTO + * @return 商家用户id + */ + R addConvenientMerchantUser(ConvenientMerchantDTO convenientMerchantDTO); + + /** + * 修改便民服务商家绑定账号 + * @param userId 用户id + * @param account 修改账户 + * @return 修改结果 + */ + R putUserAccount(Long userId, String account); + + /** + * 禁用/启用便民服务商家用户 + * @param disableOrEnableConvenientMerchantDTO + * @return + */ + R disableOrEnableMerchantUsers(DisableOrEnableConvenientMerchantDTO disableOrEnableConvenientMerchantDTO); } -- Gitblit v1.7.1