From 9a12466b7a4bb0ad16e1fb4374b769be71dd2bcb Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期四, 06 一月 2022 18:23:56 +0800 Subject: [PATCH] 商业街H5登录 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 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 8e11a66..501a64a 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,7 @@ 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.McsMerchantDTO; import com.panzhihua.common.model.dtos.grid.*; import com.panzhihua.common.model.dtos.user.PageFeedBackDTO; import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; @@ -756,4 +757,34 @@ * @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); } -- Gitblit v1.7.1