package com.panzhihua.common.service.user;
|
|
import java.util.List;
|
|
import com.panzhihua.common.model.dtos.DataKanBansDto;
|
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.LoginWithPhoneDTO;
|
import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO;
|
import com.panzhihua.common.model.dtos.partybuilding.ComPbCheckUserDTO;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.*;
|
|
import com.panzhihua.common.model.dtos.PageDTO;
|
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.*;
|
import com.panzhihua.common.model.dtos.user.*;
|
import com.panzhihua.common.model.vos.*;
|
import com.panzhihua.common.model.vos.shop.ShopStoreVO;
|
import com.panzhihua.common.model.vos.user.*;
|
|
import javax.validation.Valid;
|
|
/**
|
* @program: springcloud_k8s_panzhihuazhihuishequ
|
* @description: feign-userservice
|
* @author: huang.hongfa weixin hhf9596 qq 959656820
|
* @create: 2020-11-24 08:58
|
**/
|
@FeignClient(name = "huacheng-user")
|
public interface UserService {
|
|
/**
|
* 新增微信用户
|
*
|
* @param openid
|
* 微信小程序标志
|
* @param sessionKey
|
* 会话密钥
|
* @param unionid
|
* 微信平台唯一ID
|
* @return 新增结果
|
*/
|
@PostMapping("/addOrUpdate")
|
R addOrUpdate(@RequestParam("openid") String openid, @RequestParam("sessionKey") String sessionKey,
|
@RequestParam("unionid") String unionid,@RequestParam("appId")String appId);
|
|
/**
|
* 维护小程序用户基本信息 头像 昵称 性别
|
*
|
* @param userId
|
* 数据库用户ID
|
* @param nickName
|
* 昵称
|
* @param gender
|
* 性别
|
* @param avatarUrl
|
* 头像
|
* @return 维护结果
|
*/
|
@PostMapping("/updateUserWeiXinInfo")
|
R updateUserWeiXinInfo(@RequestParam("userId") Long userId, @RequestParam("nickName") String nickName,
|
@RequestParam("gender") int gender, @RequestParam("avatarUrl") String avatarUrl);
|
|
/**
|
* 维护微信用户手机号
|
*
|
* @param userId
|
* 数据库ID
|
* @param purePhoneNumber
|
* 没有区号的手机号
|
* @return 维护结果
|
*/
|
@PostMapping("/updateUserWeiXinPhone")
|
R updateUserWeiXinPhone(@RequestParam("userId") Long userId,
|
@RequestParam("purePhoneNumber") String purePhoneNumber);
|
|
/**
|
* 获取平台用户
|
*
|
* @param userId
|
* 用户ID
|
* @return 平台用户信息
|
*/
|
@PostMapping("/getUserInfoUserId")
|
R<LoginUserInfoVO> getUserInfoByUserId(@RequestParam("userId") String userId);
|
|
/**
|
* 获取平台用户
|
*
|
* @param userName
|
* 登录账户+_type
|
* @return 平台用户信息
|
*/
|
@PostMapping(value = "/getUserInfo")
|
R<LoginUserInfoVO> getUserInfo(@RequestParam("userName") String userName);
|
|
/**
|
* 获取平台所有权限路径url
|
*
|
* @return 所有url
|
*/
|
@PostMapping("/role/getAllMenu")
|
R<List<MenuVO>> getAllMenu();
|
|
/**
|
*
|
* @param username
|
* 用户的ID
|
* @return 用户所有角色
|
*/
|
@PostMapping("/role/getUserRoles")
|
R<List<String>> getUserRoles(@RequestParam("username") String username);
|
|
/**
|
* 查询社区的党委角色
|
*
|
* @param communityId
|
* 社区id
|
* @return 党委角色列表
|
*/
|
@PostMapping("/role/listidentity")
|
R listIdentity(@RequestParam("communityId") Long communityId);
|
|
/**
|
* 修改用户登录密码
|
*
|
* @param changePasswordVO
|
* 新密码
|
* @return 修改结果
|
*/
|
@PostMapping("changepassword")
|
R changePassword(@RequestBody ChangePasswordVO changePasswordVO);
|
|
/**
|
* 重置密码用户登录密码默认admin123456
|
*
|
* @param userId
|
* 新密码
|
* @return 修改结果
|
*/
|
@GetMapping("resetPassword")
|
R resetPassword(@RequestParam("userId") Long userId);
|
|
@GetMapping("/resetPasswordAccount")
|
R resetPasswordAccount(@RequestParam("type")Integer type,@RequestParam("account")String account,@RequestParam("appId")String appId);
|
|
/**
|
* 批量重置密码用户登录密码默认admin123456
|
*
|
* @param userIds
|
* 新密码
|
* @return 修改结果
|
*/
|
@GetMapping("resetPasswordPatch")
|
R resetPasswordPatch(@RequestParam("userIds") Long[] userIds,@RequestParam("password") String password);
|
|
/**
|
* 某社区后台人员查询
|
*
|
* @param param
|
* 名字
|
* @param communityId
|
* 社区id
|
* @return 人员集合
|
*/
|
@PostMapping("listactivitymanager")
|
R listActivityManager(@RequestParam("param") String param, @RequestParam("communityId") Long communityId);
|
|
/**
|
* 微心愿搜索社区团队人员列表
|
*
|
* @param param
|
* 请求参数
|
* @param communityId
|
* 社区id
|
* @return 社区团队人员列表
|
*/
|
@PostMapping("listactivitymanager2")
|
R listActivityManager2(@RequestParam("param") String param, @RequestParam("communityId") Long communityId);
|
|
/**
|
* 分页查询人脸识别
|
*
|
* @param loginUserInfoVO
|
* 查询参数
|
* @return 分页集合
|
*/
|
@PostMapping("pageuserface")
|
R pageUserFace(@RequestBody LoginUserInfoVO loginUserInfoVO);
|
|
/**
|
* 编辑人脸采集数据通过、驳回、删除
|
*
|
* @param loginUserInfoVO
|
* 操作信息
|
* @return 操作结果
|
*/
|
@PostMapping("putuserface")
|
R putUserFace(@RequestBody LoginUserInfoVO loginUserInfoVO);
|
|
/**
|
* 分页查询人口管理
|
*
|
* @param userInfoVO
|
* 查询参数
|
* @return 分页数据
|
*/
|
@PostMapping("pageuser")
|
R pageUser(@RequestBody AppletUserInfoVO userInfoVO);
|
|
/**
|
* 查询所有人员标签
|
*
|
* @return 标签集合
|
*/
|
@PostMapping("listtag")
|
R listTag();
|
|
/**
|
* 人员详情
|
*
|
* @param userId
|
* 用户id
|
* @return 人员详情
|
*/
|
@PostMapping("detailuser")
|
R<LoginUserInfoVO> detailUser(@RequestParam("userId") Long userId);
|
|
/**
|
* 设置用户标签
|
*
|
* @param loginUserInfoVO
|
* 标签信息
|
* @return 设置结果
|
*/
|
@PostMapping("putusertag")
|
R putUserTag(@RequestBody LoginUserInfoVO loginUserInfoVO);
|
|
/**
|
* 修改用户志愿者状态
|
*
|
* @param phone
|
* 志愿者手机号
|
* @param type
|
* 1 支援者 0不是志愿者
|
*/
|
@PostMapping("putuserisvolunteer")
|
R putUserIsVolunteer(@RequestParam("phone") String phone, @RequestParam("type") int type);
|
|
/**
|
* 修改用户志愿者状态
|
*
|
* @param userId
|
* 用户ID
|
* @param type
|
* 1 支援者 0不是志愿者
|
*/
|
@PostMapping("putuserisvolunteerbyid")
|
R putUserIsVolunteerById(@RequestParam("userId") Long userId, @RequestParam("type") int type);
|
|
/**
|
* 用户绑定社区、小区
|
*
|
* @param loginUserInfoVO
|
* 社区小区数据
|
* @return 绑定结果
|
*/
|
@PostMapping("putusercommunityarea")
|
R putUserCommunityArea(@RequestBody LoginUserInfoVO loginUserInfoVO);
|
|
/**
|
* 用户实名认证
|
*
|
* @param loginUserInfoVO
|
* 认证数据
|
* @return 认证结果
|
*/
|
@PostMapping("putuserauthentication")
|
R putUserAuthentication(@RequestBody LoginUserInfoVO loginUserInfoVO);
|
|
/**
|
* 修改用户手机号
|
*
|
* @param userPhoneVO
|
* 手机号信息
|
* @return 修改结果
|
*/
|
@PostMapping("putuserphone")
|
R putUserphone(@RequestBody UserPhoneVO userPhoneVO);
|
|
/**
|
* 修改用户信息
|
*
|
* @param loginUserInfoVO
|
* 修改内容
|
* @return 修改结果
|
*/
|
@PostMapping("putuser")
|
R putUser(@RequestBody LoginUserInfoVO loginUserInfoVO);
|
|
/**
|
* 家庭成员列表
|
*
|
* @param userId
|
* 登录用户
|
* @return 成员集合
|
*/
|
@PostMapping("listfamily")
|
R listFamily(@RequestParam("userId") Long userId, @RequestParam(value = "pageNum") Long pageNum,
|
@RequestParam("pageSize") Long pageSize);
|
|
/**
|
* 新增家庭成员
|
*
|
* @param comMngFamilyInfoVO
|
* 家庭成员基本信息
|
* @return 增加结果
|
*/
|
@PostMapping("addFamily")
|
R addFamily(@RequestBody ComMngFamilyInfoVO comMngFamilyInfoVO);
|
|
/**
|
* 编辑家庭成员
|
*
|
* @param comMngFamilyInfoVO
|
* 家庭成员信息
|
* @return 编辑结果
|
*/
|
@PostMapping("putfamily")
|
R putFamily(@RequestBody ComMngFamilyInfoVO comMngFamilyInfoVO);
|
|
/**
|
* 新增运营、社区后台账户
|
*
|
* @param administratorsUserVO
|
* 账户信息
|
* @return 新增结果
|
*/
|
@PostMapping("adduserbackstage")
|
R addUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
|
|
/**
|
* 新增社区后台物业,社会组织,业主委员会账户
|
*
|
* @param administratorsUserVO
|
* 账户信息
|
* @return 新增结果
|
*/
|
@PostMapping("adduserbackstageproperty")
|
R addUserBackstageProperty(@RequestBody AdministratorsUserVO administratorsUserVO);
|
|
|
/**
|
* 更新
|
*
|
* @param administratorsUserVO
|
* 编辑账户内容
|
* @return 编辑结果
|
*/
|
@PostMapping("updateStreet")
|
R updateStreet(@RequestBody AdministratorsUserVO administratorsUserVO);
|
|
/**
|
* 编辑运营、社区后台账户
|
*
|
* @param administratorsUserVO
|
* 编辑账户内容
|
* @return 编辑结果
|
*/
|
@PostMapping("putuserbackstage")
|
R putUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
|
|
/**
|
* 删除后台用户
|
*
|
* @param administratorsUserVO
|
* 用户主键
|
* @return 删除结果
|
*/
|
@PostMapping("deleteuserbackstage")
|
R deleteUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
|
|
/**
|
* 角色下拉列表
|
*
|
* @param communityId
|
* 对应社区 0 表示运营后台
|
* @return 角色集合
|
*/
|
@PostMapping("/role/listrolebackstage")
|
R listRoleBackstage(@RequestParam("communityId") Long communityId,@RequestParam("pageNum")Integer pageNum,@RequestParam("pageSize")Integer pageSize,@RequestParam("areaCode")String areaCode);
|
|
/**
|
* 分页查询后台用户
|
*
|
* @param administratorsUserVO
|
* 查询参数
|
* @return 后台用户
|
*/
|
@PostMapping("pageuserbackstage")
|
R pageUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
|
|
/**
|
* 新增角色
|
*
|
* @param roleVO
|
* 角色信息
|
* @return 新增结果
|
*/
|
@PostMapping("/role/addrolebackstage")
|
R addRoleBackstage(@RequestBody RoleVO roleVO);
|
|
/**
|
* 删除角色
|
*
|
* @param roleVO
|
* 角色主键
|
* @return 删除结果
|
*/
|
@PostMapping("/role/deleterolebackstage")
|
R deleteRoleBackstage(@RequestBody RoleVO roleVO);
|
|
/**
|
* 平台菜单列表
|
*
|
* @param communityId
|
* 社区id 0 运营平台
|
* @return 菜单集合
|
*/
|
@PostMapping("/role/listmenubackstage")
|
R listMenuBackstage(@RequestParam("communityId") Long communityId);
|
|
/**
|
* 设置角色的权限
|
*
|
* @param menuRoleVO
|
* 用户设置的权限id
|
* @return 设置结果
|
*/
|
@PostMapping("/role/putmenurole")
|
R putMenuRole(@RequestBody MenuRoleVO menuRoleVO);
|
|
/**
|
* 保存操作日志
|
*
|
* @param operlog
|
* 日志内容
|
* @return 保存结果
|
*/
|
@PostMapping("addoperlog")
|
R addOperLog(@RequestBody SysOperLogVO operlog);
|
|
/**
|
* 分页展示操作日志
|
*
|
* @param sysOperLogVO
|
* 分页参数
|
* @return 分页集合
|
*/
|
@PostMapping("pageoperlog")
|
R pageOperLog(@RequestBody SysOperLogVO sysOperLogVO);
|
|
/**
|
* 用户协议
|
*
|
* @return 协议集合
|
*/
|
@PostMapping("listagreement")
|
R listAgreement(@RequestParam("communityId") Long communityId);
|
|
/**
|
* 编辑用户协议
|
*
|
* @param sysUserAgreementVO
|
* 编辑内容
|
* @return 编辑结果
|
*/
|
@PostMapping("putagreement")
|
R putAgreement(@RequestBody SysUserAgreementVO sysUserAgreementVO);
|
|
/**
|
* 用户标签
|
*
|
* @param communityId
|
* 社区id
|
* @return 标签集合
|
*/
|
@PostMapping("listcommngusertag")
|
R listComMngUserTag(@RequestParam("communityId") Long communityId);
|
|
/**
|
* 新增删除用户标签
|
*
|
* @param systemmanagementConfigVO
|
* 操作内容
|
* @return 操作结果
|
*/
|
@PostMapping("putcommngusertag")
|
R putComMngUserTag(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO);
|
|
/**
|
* 分页查询小程序用户
|
*
|
* @param pageUserAppletsBackstageDTO
|
* 查询参数
|
* @return 分页集合
|
*/
|
@PostMapping("pageuserappletsbackstage")
|
R pageUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO);
|
|
/**
|
* 编辑用户状态
|
*
|
* @param pageUserAppletsBackstageDTO
|
* 启用或者禁用 1 启用 2 禁用
|
* @return 编辑结果
|
*/
|
@PostMapping("putuserappletsbackstage")
|
R putUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO);
|
|
/**
|
* 调试接口--清除昵称、社区、小区
|
*
|
* @param userId
|
* 登录用户id
|
* @return 清除结果
|
*/
|
@PostMapping("deleteusertest")
|
R deleteUserTest(@RequestParam("userId") Long userId);
|
|
/**
|
* 用户协议和隐私政策
|
*
|
* @param type
|
* 所属app 1居民端app 2网格员端app 3商家端app
|
* @return 协议内容
|
*/
|
@PostMapping("useragreement")
|
R userAgreement(@RequestParam("type") int type,@RequestParam("appid")String appId);
|
|
/**
|
* uu洗车登录
|
* @param uuLoginVO
|
* @return
|
*/
|
@PostMapping("uuLogin")
|
R uuLogin(@RequestBody UuLoginVO uuLoginVO);
|
|
/**
|
* 意见反馈
|
*
|
* @param sysUserFeedbackDTO
|
* 反馈内容
|
* @return 反馈结果
|
*/
|
@PostMapping("addfeedback")
|
R addFeedback(@RequestBody SysUserFeedbackDTO sysUserFeedbackDTO);
|
|
/**
|
* 分页通知列表
|
*
|
* @param pageDTO
|
* 分页参数
|
* @return 分页结果
|
*/
|
@PostMapping("pagenotice")
|
R pageNotice(@RequestBody PageDTO pageDTO);
|
|
/**
|
* 通知已读
|
*
|
* @param noticeReadDTO
|
* 通知已读
|
* @return 修改状态
|
*/
|
@PostMapping("putnotice")
|
R putNotice(@RequestBody NoticeReadDTO noticeReadDTO);
|
|
/**
|
* 分页查询用户意见反馈
|
*
|
* @param pageFeedBackDTO
|
* 分页查询参数
|
* @return 意见集合
|
*/
|
@PostMapping("pagefeedback")
|
R pageFeedback(@RequestBody PageFeedBackDTO pageFeedBackDTO);
|
|
/**
|
* 未读消息汇总
|
*
|
* @param userId
|
* 登录用户信息
|
* @return 未读汇总
|
*/
|
@PostMapping("noticeunreadnum")
|
R noticeUnreadNum(@RequestParam("userId") Long userId);
|
|
/**
|
* 反馈意见详情
|
*
|
* @param id
|
* 反馈主键
|
* @return 反馈详情
|
*/
|
@PostMapping("detailfeedback")
|
R detailFeedback(@RequestParam("id") Long id);
|
|
/**
|
* 数据看板
|
*
|
* @return 运营后台数据看板
|
*/
|
@PostMapping("datakanban")
|
R dataKanban(@RequestParam("areaCode")String areaCode);
|
|
/**
|
* 用户菜单获取
|
*
|
* @param userId
|
* 登录用户id
|
* @return 用户菜单
|
*/
|
@PostMapping("/role/listmenu")
|
R listmenu(@RequestParam("userId") Long userId);
|
|
/**
|
* 社区管理后台数据看板
|
*
|
* @param communityId
|
* 社区id
|
* @return 看板用户数据
|
*/
|
@PostMapping("indexdatacommunitybackstage")
|
R indexDataCommunityBackstage(@RequestParam("communityId") Long communityId);
|
|
/**
|
* 定时任务维护用户持续登录时间
|
*
|
* @return 维护结果
|
*/
|
@PostMapping("timedtaskcontinuouslandingdays")
|
R timedTaskContinuousLandingDays();
|
|
/**
|
* 新增用户通知
|
*
|
* @param sysUserNoticeVO
|
* 通知内容
|
* @return 新增结果
|
*/
|
@PostMapping("addnotice")
|
R addNotice(@RequestBody SysUserNoticeVO sysUserNoticeVO);
|
|
/**
|
* 修改用户的党员状态
|
*
|
* @param idCard
|
* 身份证号
|
* @return 修改结果
|
*/
|
@PostMapping("updateuserispartymember")
|
R updateUserIsPartymember(@RequestParam("idCard") String idCard);
|
|
/**
|
* 修改党员状态
|
* @param phone
|
* @return
|
*/
|
@PostMapping("updateuserispartymemberByPhone")
|
R updateUserIsPartymemberByPhone(@RequestParam("phone") String phone);
|
/**
|
* 修改用户的为非党员状态
|
*
|
* @param idCard
|
* 身份证号
|
* @return 修改结果
|
*/
|
@PostMapping("updateusernotpartymember")
|
R updateUserNotPartymember(@RequestParam("idCard") String idCard);
|
|
/**
|
* 获取角色的权限配置列表
|
*
|
* @param roleId
|
* 角色id
|
* @return 菜单列表
|
*/
|
@PostMapping("/role/listmenubackstagebyrole")
|
R listMenuBackstageByRole(@RequestParam("roleId") Long roleId);
|
|
/**
|
* 获取各种协议
|
*
|
* @param type
|
* 1居民端app协议 2网格员端app协议 3商家端app协议 4隐私政策
|
* @return 协议内容
|
*/
|
@PostMapping("agreement")
|
R agreement(@RequestParam("type") Integer type,@RequestParam("appId")String appId);
|
|
/**
|
* 维护用户最后登录时间
|
*
|
* @param userId
|
* 用户主键
|
* @return 维护结果
|
*/
|
@PostMapping("putuserlastlogintime")
|
R putUserLastLoginTime(@RequestParam("userId") Long userId);
|
|
/**
|
* 删除意见反馈
|
*
|
* @param id
|
* 主键
|
* @return 删除结果
|
*/
|
@PostMapping("deletefeedback")
|
R deleteFeedback(@RequestParam("id") Long id);
|
|
/**
|
* 批量导入居民用户
|
*
|
* @param list
|
* 居民用户集合
|
* @param areaName
|
* 小区名字
|
* @return 导入结果
|
*/
|
@PostMapping("batchsaveuser")
|
R batchSaveUser(@RequestBody List<EexcelUserDTO> list, @RequestParam("areaName") StringBuffer areaName);
|
|
/**
|
* 校验小区是否存在
|
*
|
* @param areaName
|
* 小区名字
|
* @return 校验结果
|
*/
|
@PostMapping("checkaereaname")
|
R checkAereaName(@RequestParam("areaName") String areaName);
|
|
/**
|
* 社区人员详情包括导入人员
|
*
|
* @param userId
|
* 人员id
|
* @return CommunityUserInfoVO
|
*/
|
@PostMapping("detailusercomunity")
|
R detailUserComunity(@RequestParam("userId") Long userId);
|
|
/**
|
* 用户搜索了就下载搜索的用户否则下载所有用户
|
*
|
* @param exportUserDTO
|
* 用户搜索内容
|
* @return List<EexcelUserDTO> excel内容
|
*/
|
@PostMapping("export")
|
R export(@RequestBody ExportUserDTO exportUserDTO);
|
|
/**
|
* 通过手机号码查询用户信息
|
*
|
* @param phone
|
* @return
|
*/
|
@GetMapping("getUserByPhone")
|
R getSysUserVOByPhone(@RequestParam(value = "phone") String phone);
|
|
/**
|
* 通过账号查询用户信息
|
*
|
* @param account
|
* @return
|
*/
|
@GetMapping("getUserByAccount")
|
R getSysUserVOByAccountAndType(@RequestParam(value = "account") String account,
|
@RequestParam(value = "type") Integer type);
|
|
/**
|
* 基础数据》居民管理》居民列表
|
*
|
* @param pageInputUserDTO
|
* 查询参数
|
* @return 分页数据
|
*/
|
@PostMapping("common/data/user/page")
|
R pageInputUser(@RequestBody PageInputUserDTO pageInputUserDTO);
|
|
/**
|
* 基础数据》居民管理》设置用户标签
|
*
|
* @param inputUserTagsDTO
|
* 标签信息
|
* @return 设置结果
|
*/
|
@PostMapping("common/data/user/tags")
|
R setInputUserTag(@RequestBody InputUserTagsDTO inputUserTagsDTO);
|
|
/**
|
* 基础数据》居民管理》批量导入居民用户
|
*
|
* @param list
|
* 居民用户集合
|
* @param areaName
|
* 小区名字
|
* @return 导入结果
|
*/
|
@PostMapping("common/data/user/import")
|
R batchSaveInputUser(@RequestBody List<EexcelUserDTO> list, @RequestParam("areaName") StringBuffer areaName);
|
|
/**
|
* 基础数据》居民管理》 居民详情
|
*
|
* @param id
|
* 人员id
|
* @return CommunityUserInfoVO
|
*/
|
@PostMapping("/common/data/user/detail")
|
R inputUserDetail(@RequestParam("id") Long id);
|
|
/**
|
* 基础数据》居民管理》 导出居民信息
|
*
|
* @param exportUserDTO
|
* 用户搜索内容
|
* @return List<EexcelUserDTO> excel内容
|
*/
|
@PostMapping("/common/data/user/export")
|
R inputUserExport(@RequestBody ExportUserDTO exportUserDTO);
|
|
/**
|
* 基础数据》特殊群体》分页查询
|
*
|
* @param pageInputUserDTO
|
* @return
|
*/
|
@PostMapping("common/data/special/page")
|
R specialInputUser(@RequestBody PageInputUserDTO pageInputUserDTO);
|
|
/**
|
* 删除特殊群体用户
|
*
|
* @param id
|
* @return
|
*/
|
@DeleteMapping("common/data/special/delete1")
|
R deleteSpecialInputUser(@RequestParam(value = "id") Long id);
|
|
/**
|
* 基础数据》特殊群体》分页查询标签列表
|
*
|
* @param comMngUserTagDTO
|
* @return
|
*/
|
@PostMapping("common/data/special/tags/page")
|
R specialInputUserTags(@RequestBody PageInputUserDTO comMngUserTagDTO);
|
|
/**
|
* 新增或修改特殊群体标签
|
*
|
* @param comMngTagVO
|
* @return
|
*/
|
@PostMapping("common/data/special/tags/save")
|
R saveSpecialInputUserTags(@RequestBody ComMngTagVO comMngTagVO);
|
|
/**
|
* 删除特殊群体标签
|
*
|
* @param id
|
* @return
|
*/
|
@DeleteMapping("common/data/special/tags/delete")
|
R deleteSpecialInputUserTags(@RequestParam(value = "id") Long id);
|
|
/**
|
* 特殊群体导出
|
*
|
* @param exportSpecialUserDTO
|
* @return
|
*/
|
@PostMapping("/common/data/special/export")
|
R specialUserExport(@RequestBody ExportSpecialUserDTO exportSpecialUserDTO);
|
|
/**
|
* 查询所有人员标签
|
*
|
* @return 标签集合
|
*/
|
@PostMapping("listtag/getTag")
|
R listTags();
|
|
/**
|
* 添加SysUser信息
|
*
|
* @param storeVO
|
* sysUser信息
|
* @return 添加sysUser结果
|
*/
|
@PostMapping("addSysUser")
|
R addSysUser(@RequestBody ShopStoreVO storeVO);
|
|
/**
|
* 修改SysUser信息
|
*
|
* @param storeVO
|
* sysUser信息
|
* @return 修改结果
|
*/
|
@PostMapping("editSysUser")
|
R editSysUser(@RequestBody ShopStoreVO storeVO);
|
|
/**
|
* 修改用户小程序首页活动提示
|
*
|
* @param userEditTipsDTO
|
* 请求参数
|
* @return 修改结果
|
*/
|
@PostMapping("editUserTips")
|
R editUserTips(@RequestBody SysUserEditTipsDTO userEditTipsDTO);
|
|
/**
|
* 获取用户电子档案
|
*
|
* @param userId
|
* 家庭成员信息
|
* @return 结果
|
*/
|
@GetMapping("getUserArchives")
|
R getUserArchives(@RequestParam("userId") Long userId);
|
|
/**
|
* 编辑用户电子档案
|
*
|
* @param userArchivesVO
|
* 编辑的信息
|
* @return 编辑结果
|
*/
|
@PostMapping("updateUserArchives")
|
R updateUserArchives(@RequestBody UpdateUserArchivesVO userArchivesVO);
|
|
/**
|
* 修改app用户密码
|
*
|
* @param userInfoAppDTO
|
* 请求参数
|
* @return 修改结果
|
*/
|
@PutMapping("updateUserPassByApp")
|
R updateUserPassByApp(@RequestBody EditUserInfoPassAppDTO userInfoAppDTO);
|
|
/**
|
* 添加网格员
|
*
|
* @param eventGridMemberAddDTO
|
* 请求参数
|
* @return 结果
|
*/
|
@PostMapping("addGridUser")
|
R addGridUser(@RequestBody EventGridMemberAddDTO eventGridMemberAddDTO);
|
|
/**
|
* 分页查询网格员
|
*
|
* @param memberRelationDTO
|
* 请求参数
|
* @return 结果
|
*/
|
@PostMapping("member/list")
|
R getGridMemberList(@RequestBody PageEventGridMemberRelationDTO memberRelationDTO);
|
|
/**
|
* 修改网格员信息
|
*
|
* @param eventGridMemberAddDTO
|
* 请求参数
|
* @return 修改结果
|
*/
|
@PostMapping("editGridUser")
|
R editGridUser(@RequestBody EventGridMemberEditAdminDTO eventGridMemberAddDTO);
|
|
/**
|
* 重置网格员密码
|
*
|
* @param gridMemberDTO
|
* 请求参数
|
* @return 重置结果
|
*/
|
@PostMapping("passResetUser")
|
R gridMemberPassReset(@RequestBody EventGridMemberPassResetDTO gridMemberDTO);
|
|
/**
|
* 批量删除网格员
|
*
|
* @param Ids
|
* 网格员id集合
|
* @return 删除结果
|
*/
|
@PostMapping("deleteMembers")
|
R deleteMembers(@RequestBody List<Long> Ids);
|
|
/**
|
* 批量修改网格员状态
|
*
|
* @param gridMemberEditDTO
|
* 请求参数
|
* @return 修改结果
|
*/
|
@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);
|
|
/**
|
* 查询社区后台工作人员列表
|
*
|
* @param communityId
|
* 社区id
|
* @return 社区后台工作人员列表
|
*/
|
@GetMapping("getUserListByCommunityId")
|
R getUserListByCommunityId(@RequestParam("communityId") Long communityId);
|
|
/**
|
* 检查当前用户是否是社区工作人员
|
* @param phone
|
* @param communityId
|
* @return
|
*/
|
@GetMapping("checkIsTeam")
|
R checkCurrentUserIsTeam(@RequestParam("phone") String phone, @RequestParam("communityId") Long communityId);
|
|
/**
|
* 便民服务新增商家账号
|
* @param convenientMerchantDTO
|
* @return 商家用户id
|
*/
|
@PostMapping("insertMerchantAccount")
|
R addConvenientMerchantUser(@RequestBody ConvenientMerchantDTO convenientMerchantDTO);
|
|
/**
|
* 修改便民服务商家绑定账号
|
* @param userId
|
* @param account
|
* @return
|
*/
|
@PutMapping("putMerchantUserAccount")
|
R putUserAccount(@RequestParam("userId") Long userId, @RequestParam("account") String account);
|
|
/**
|
* 禁用/启用便民服务商家用户
|
* @param disableOrEnableConvenientMerchantDTO
|
* @return
|
*/
|
@PutMapping("disableOrEnableMerchantUsers")
|
R disableOrEnableMerchantUsers(@RequestBody DisableOrEnableConvenientMerchantDTO disableOrEnableConvenientMerchantDTO);
|
|
/**
|
* 根据openid维护社区团队里是否注册
|
* @param openid 用户微信唯一标识
|
*/
|
@GetMapping("judgeCommunityTeam")
|
void judgeCommunityTeam(@RequestParam("openid") String openid);
|
|
/**
|
* 数据看板升级版
|
*
|
* @return 运营后台数据看板升级版
|
*/
|
@PostMapping("datakanbans")
|
R dataKanBans(@RequestBody DataKanBansDto dataKanBansDto);
|
|
/**
|
* 运营后台-用户数据统计汇总
|
* @return 用户数据统计汇总
|
*/
|
@GetMapping("community/statistics")
|
R communityStatistics(@RequestParam("areaCode") String areaCode);
|
|
/**
|
* 运营后台-用户数据统计导出
|
* @return 用户数据
|
*/
|
@GetMapping("community/statistics/export")
|
R communityStatisticsExport(@RequestParam("areaCode") String areaCode);
|
|
/**
|
* 通过UnionId获取用户信息
|
* @param unionId
|
* @return
|
*/
|
@GetMapping("/getByUnionId")
|
R getUserInfoByUnionId(@RequestParam("unionId") String unionId);
|
|
/**
|
* 小程序id获取相关信息
|
* @param appId
|
* @return
|
*/
|
@GetMapping("/sysAppConfig/selectByAppid")
|
R<SysAppConfigVO> selectByAppid(@RequestParam("appId")String appId);
|
|
/**
|
* 通过区域编码 类型获取动态模板id
|
* @param areaCode
|
* @param type
|
* @return
|
*/
|
@GetMapping("/sysTemplateConfig/selectTemplate")
|
R<SysTemplateConfigVO> selectTemplate(@RequestParam("areaCode")String areaCode,@RequestParam("type")Integer type);
|
|
/**
|
* 微商业街新增商家账号
|
* @param mcsMerchantDTO
|
* @return 商家用户id
|
*/
|
@PostMapping("insertMcsMerchantAccount")
|
R addMcsMerchantUser(@RequestBody McsMerchantDTO mcsMerchantDTO);
|
|
/**
|
* 微商业街修改商家账号
|
* @param mcsMerchantDTO
|
* @return
|
*/
|
@PutMapping("putMcsMerchantUser")
|
R putMcsMerchantUser(@RequestBody McsMerchantDTO mcsMerchantDTO);
|
|
/**
|
* 检查用户是否有效
|
* @param userId
|
* @param type
|
* @return
|
*/
|
@PutMapping("checkUserIsValid")
|
Boolean checkUserIsValid(@RequestParam("userId") Long userId, @RequestParam("type") Integer type);
|
|
/**
|
* 根据手机号、用户类型查询用户
|
* @param phone
|
* @param type
|
* @return
|
*/
|
@GetMapping("/getSysUserByPhone")
|
R getSysUserByPhone(@RequestParam("phone") String phone, @RequestParam("type") Integer type);
|
|
/**
|
* 发送验证码
|
* @param phone 手机号
|
* @param clientIP 用户ip
|
* @param prefixKey redis Key 前缀
|
* @param limit 获取次数限制
|
* @param timeout 超次数获取时间等待
|
* @return
|
*/
|
@GetMapping("/sendMessageCode")
|
R sendMessageCode(@RequestParam("phone") String phone,
|
@RequestParam(value = "clientIP", required = false) String clientIP,
|
@RequestParam("prefixKey") String prefixKey,
|
@RequestParam("limit") Integer limit,
|
@RequestParam("timeout") Integer timeout);
|
|
/**
|
* 根据openId获取微商业街用户
|
* @param openid
|
* @return
|
*/
|
@GetMapping("/getMcsUserByOpenId")
|
R getMcsUserByOpenId(@RequestParam("openid") String openid);
|
|
/**
|
* 商业街用户微信授权-绑定手机号
|
* @param bindUserPhoneDTO
|
* @return
|
*/
|
@PostMapping("/mcs/bindPhone")
|
R bindOrAddMcsUser(@RequestBody @Valid BindUserPhoneDTO bindUserPhoneDTO);
|
|
/**
|
* 删除用户信息缓存
|
* @param phone
|
*/
|
@DeleteMapping("/deleteUserCashByPhone")
|
R deleteUserCashByPhone(@RequestParam("phone") String phone);
|
|
/**
|
* 修改用户党员状态
|
* @param userId 用户id
|
* @return 修改结果
|
*/
|
@PostMapping("/update/user/party/status")
|
R updateUserPartyStatus(@RequestParam("userId") Long userId);
|
|
/**
|
*导出验证密码
|
*/
|
@GetMapping("/checkExport")
|
R checkExport(@RequestParam("account")String account,@RequestParam("password")String password,@RequestParam("oldPassword")String oldPassword);
|
|
@GetMapping("/indexData/totalData")
|
R newIndexData(@RequestParam(value = "type",required = false) Integer type,
|
@RequestParam(value = "type",required = false) Long streetId,
|
@RequestParam(value = "areaCode",required = false) Long areaCode,@RequestParam("appId")String appId);
|
|
@GetMapping("/indexData/userRate")
|
R userRate(@RequestParam(value = "type",required = false) Integer type,
|
@RequestParam(value = "streetId",required = false) Long streetId,
|
@RequestParam(value = "areaCode",required = false) Long areaCode,
|
@RequestParam(value = "range",required = false) Integer range,@RequestParam(value = "appId",required = false) String appId);
|
|
|
@GetMapping("/indexData/realUser")
|
R realUser(@RequestParam(value = "type",required = false) Integer type,
|
@RequestParam(value = "streetId",required = false) Long streetId,
|
@RequestParam(value = "areaCode",required = false) Long areaCode,
|
@RequestParam(value = "range",required = false) Integer range,@RequestParam(value = "appId",required = false) String appId);
|
|
@GetMapping("/indexData/userActivity")
|
R userActivity(@RequestParam(value = "type", required = false) Integer type,
|
@RequestParam(value = "streetId", required = false) Long streetId,
|
@RequestParam(value = "areaCode", required = false) Long areaCode,
|
@RequestParam(value = "range", required = false) Integer range, @RequestParam(value = "appId",required = false) String appId);
|
|
@GetMapping("/indexData/getAreaAndStreet")
|
R getAreaAndStreet();
|
/**
|
* uu洗车推送
|
* @param washPhone
|
* @param phone
|
* @param washName
|
* @param orderStatus
|
* @return
|
*/
|
@GetMapping("/uuPush")
|
R uuPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus);
|
/**
|
* 无水洗车推送
|
* @param washPhone
|
* @param phone
|
* @param washName
|
* @param orderStatus
|
* @return
|
*/
|
@GetMapping("/wsPush")
|
R wsPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus);
|
@GetMapping("/communityList")
|
R communityList(@RequestParam("name") String name, @RequestParam("id") Long id);
|
|
|
@PostMapping("/tfLogin")
|
R tfLogin(@RequestBody UuLoginVO uuLoginVO);
|
|
/**
|
* 三说会堂添加后台账户
|
* */
|
@PostMapping("/sanshuoAddUser")
|
R sanShuoAddUser(@RequestBody AdministratorsUserVO administratorsUserVO);
|
|
/**
|
* 三说会堂重置密码
|
* */
|
@GetMapping("/sanshuoResetPassword")
|
R sanShuoResetPassword(@RequestParam("account") String account,@RequestParam("pass")String password);
|
|
|
@GetMapping("/accept")
|
R accept(@RequestParam("userId")Long userId);
|
|
@PostMapping("/addComPbCheckUser")
|
R addComPbCheckUser(@RequestBody ComPbCheckUserDTO comPbCheckUserDTO);
|
|
|
/**
|
* 是否为专家登陆小程序
|
* */
|
@GetMapping("/isSanShuoExpert")
|
R isExpert(@RequestParam("number") String number);
|
|
/**
|
* 删除用户专家权限
|
* */
|
@GetMapping("/removeExpertRole")
|
R removeExpertRole(@RequestParam(value = "phone",required = false) String phone);
|
|
/**
|
*回复反馈意见或修改返回意见的回复
|
* */
|
@PostMapping("/feedBackReply")
|
R updateFeedBack(@RequestBody SysUserFeedbackVO sysUserFeedbackVO);
|
|
@GetMapping("/myFeedBack")
|
R myFeedBack(@RequestParam("userId") Long userId,@RequestParam(value = "type",required = false)Integer type,@RequestParam("propertyId")Long propertyId);
|
|
/**
|
* 获取所有社区等
|
* @return
|
*/
|
@GetMapping("/getAllCommunityList")
|
R getAllCommunityList();
|
|
@GetMapping("/propertyCheck")
|
R propertyCheck(@RequestParam("phone") String phone);
|
|
}
|