From 42521c9b51c1bd9a40036f18fd610cd46601222d Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期一, 28 十一月 2022 14:45:22 +0800 Subject: [PATCH] #feat . --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 150 insertions(+), 4 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 2c2e927..48a9b80 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 @@ -11,6 +11,7 @@ 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.partybuilding.ComPbCheckUserDTO; import com.panzhihua.common.model.dtos.user.PageFeedBackDTO; import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; import com.panzhihua.common.model.dtos.user.SysUserEditTipsDTO; @@ -18,6 +19,7 @@ import com.panzhihua.common.model.vos.*; import com.panzhihua.common.model.vos.shop.ShopStoreVO; import com.panzhihua.common.model.vos.user.*; +import org.springframework.web.bind.annotation.RequestParam; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -37,7 +39,7 @@ * 用户在开放平台的唯一标识符 * @return token */ - R updateInsertUser(String openid, String sessionKey, String unionid); + R updateInsertUser(String openid, String sessionKey, String unionid,String appId); /** * 维护小程序用户基本信息 头像 昵称 性别 @@ -74,7 +76,7 @@ * @param type * 用户类型 用户类型 1 小程序 2 运营平台 3 社区平台 */ - R<LoginUserInfoVO> getUserInfo(String name, int type); + R<LoginUserInfoVO> getUserInfo(String name, int type,String appId); /** * 三端获取登录用户信息 @@ -355,7 +357,7 @@ * 所属app 1居民端app 2网格员端app 3商家端app * @return 协议内容 */ - R userAgreement(int type); + R userAgreement(int type,String appId); /** * 意见反馈 @@ -453,6 +455,15 @@ R updateUserIsPartymember(String idCard); /** + * 修改用户的党员状态 + * + * @param phone + * 身份证号 + * @return 修改结果 + */ + R updateUserIsPartymemberByPhone(String phone); + + /** * 修改用户为非党员状态 * * @param idCard @@ -468,7 +479,7 @@ * 1居民端app协议 2网格员端app协议 3商家端app协议 4隐私政策 * @return 协议内容 */ - R agreement(Integer type); + R agreement(Integer type,String appId); /** * 维护用户最后登录时间 @@ -828,4 +839,139 @@ R deleteUserCashByPhone(String phone); R updateUserPartyStatus(Long userId); + + /** + * uu洗车登录 + * @param uuLoginVO + * @return + */ + R uuLogin(UuLoginVO uuLoginVO); + + /** + * 导出验证密码 + * @param account + * @param password + * @return + */ + R checkExport(@RequestParam("account")String account, @RequestParam("password")String password,@RequestParam("oldPassword")String oldPassword); + + /** + * 数据看板:数据总览 + * @param type 查看类型 + * @param streetId 街道id + * @param areaCode 区县code + * */ + R newIndexData(Integer type, Long streetId,Long areaCode,String appid); + + /** + * 用户占比统计 + * @param type 查看类型 + * @param streetId 街道id + * @param areaCode 区县code + * @param range */ + R userRate(Integer type, Long streetId, Long areaCode, Integer range,String appId); + + /** + * 真实用户占比统计 + * @param type 查看类型 + * @param streetId 街道id + * @param areaCode 区县code + * @param range */ + R realUser(Integer type, Long streetId, Long areaCode, Integer range,String appId); + + + /** + * 用户行为折线图 + * @param type 查看类型 + * @param streetId 街道id + * @param areaCode 区县code + * @param range + * @param appId */ + R userActivity(Integer type, Long streetId, Long areaCode, Integer range, String appId); + + /** + * 获取区县即下属街道名 + * */ + R getAreaAndStreet(); + + /** + * uu洗车通知推送 + * @param phone + * @param orderStatus + * @return + */ + R uuPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus); + + /** + * 无水洗车通知推送 + * @param phone + * @param orderStatus + * @return + */ + R wsPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus); + + /** + * 获取城镇或村落列表 + * */ + R getCommunityList(String name,Long id); + + /** + * 获取所有城镇或村落列表 + * @return + */ + R getAllCommunityList(); + + /** + * 重置密码 + * @param type + * @param account + * @return + */ + R resetPassword(Integer type,String account,String appId); + + /** + * 天府通办登录 + * @param uuLoginVO + * @return + */ + R tfLogin(UuLoginVO uuLoginVO); + + /** + * 三说会堂新增业务中心或专家账号 + * */ + R addExpertOrIndustryCenter(AdministratorsUserVO administratorsUserVO); + + /** + * 三说会堂后台重置密码 + * */ + R resetPassExpertOrIndustryCenter(String account,String password); + + /** + * 用户授权 + * @param userId + * @return + */ + R accept(Long userId); + + R addComPbCheckUser(ComPbCheckUserDTO comPbCheckUserDTO); + + /** + * 移除专家权限 + * */ + R removeExpertRole(String phone); + + /** + * 回复用户反馈 + * */ + R feedBackReply(SysUserFeedbackVO sysUserFeedbackVO); + + /** + * 查看我的问题留言或者问题留言记录 + * */ + R myFeedBack(Long id,Integer type,Long propertyId); + + /** + * 是否为物业公司登录 + * */ + R propertyCheck(String phone); } -- Gitblit v1.7.1