From b827b2710c1f9ac64fe8879f08e1008a8647966a Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期四, 07 七月 2022 13:42:12 +0800 Subject: [PATCH] 大屏数据调整 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java | 72 +++++++++++++++++++++++++++++++++++ 1 files changed, 71 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 2c99dff..b34b47f 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 @@ -8,6 +8,8 @@ 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.community.microCommercialStreet.BindUserPhoneDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO; import com.panzhihua.common.model.dtos.grid.*; import com.panzhihua.common.model.dtos.user.PageFeedBackDTO; import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; @@ -155,7 +157,7 @@ * 用户id * @return 人员详情 */ - R detailUser(Long userId); + R<LoginUserInfoVO> detailUser(Long userId); /** * 设置用户标签 @@ -756,4 +758,72 @@ * @return */ R getUserInfoByUnionId(String unionId); + + /** + * 微商业街新增商家账号 + * @param mcsMerchantDTO + * @return 商家用户id + */ + R addMcsMerchantUser(McsMerchantDTO mcsMerchantDTO); + + /** + * 微商业街修改商家账号 + * @param mcsMerchantDTO + * @return + */ + R putMcsMerchantUser(McsMerchantDTO mcsMerchantDTO); + + /** + * 检查用户是否有效 + * @param userId + * @param type + * @return + */ + Boolean checkUserIsValid(Long userId, Integer type); + + /** + * 根据手机号、用户类型查询用户 + * @param phone + * @param type + * @return + */ + R getSysUserByPhone(String phone, Integer type); + + /** + * 发送验证码 + * @param phone 手机号 + * @param clientIP 用户ip + * @param prefixKey redis Key 前缀 + * @param limit 获取次数限制 + * @param timeout 超次数获取时间等待 + * @return + */ + R sendMessageCode(String phone, String clientIP, String prefixKey, Integer limit, Integer timeout); + + /** + * 根据openId获取微商业街用户 + * @param openid + * @return + */ + R getMcsUserByOpenId(String openid); + + /** + * 商业街用户微信授权-绑定手机号 + * @param bindUserPhoneDTO + * @return + */ + R bindOrAddMcsUser(BindUserPhoneDTO bindUserPhoneDTO); + + /** + * 更新街道id + * @param administratorsUserVO + * @return + */ + R updateStreetId(AdministratorsUserVO administratorsUserVO); + + /** + * 删除用户信息缓存 + * @param phone + */ + R deleteUserCashByPhone(String phone); } -- Gitblit v1.7.1