| | |
| | | |
| | | 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 org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | */ |
| | | @PostMapping("changepassword") |
| | | R changePassword(@RequestBody ChangePasswordVO changePasswordVO); |
| | | |
| | | /** |
| | | * 重置密码用户登录密码默认admin123456 |
| | | * |
| | | * @param userId |
| | | * 新密码 |
| | | * @return 修改结果 |
| | | */ |
| | | @GetMapping("resetPassword") |
| | | R resetPassword(@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 批量重置密码用户登录密码默认admin123456 |
| | | * |
| | | * @param userIds |
| | | * 新密码 |
| | | * @return 修改结果 |
| | | */ |
| | | @GetMapping("resetPasswordPatch") |
| | | R resetPasswordPatch(@RequestParam("userIds") Long[] userIds,@RequestParam("password") String password); |
| | | |
| | | /** |
| | | * 某社区后台人员查询 |
| | |
| | | R addUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO); |
| | | |
| | | /** |
| | | * 新增社区后台物业,社会组织,业主委员会账户 |
| | | * |
| | | * @param administratorsUserVO |
| | | * 账户信息 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("adduserbackstageproperty") |
| | | R addUserBackstageProperty(@RequestBody AdministratorsUserVO administratorsUserVO); |
| | | |
| | | /** |
| | | * 编辑运营、社区后台账户 |
| | | * |
| | | * @param administratorsUserVO |
| | |
| | | * @return 角色集合 |
| | | */ |
| | | @PostMapping("/role/listrolebackstage") |
| | | R listRoleBackstage(@RequestParam("communityId") Long communityId); |
| | | R listRoleBackstage(@RequestParam("communityId") Long communityId,@RequestParam("pageNum")Integer pageNum,@RequestParam("pageSize")Integer pageSize,@RequestParam("areaCode")String areaCode); |
| | | |
| | | /** |
| | | * 分页查询后台用户 |
| | |
| | | * @return 运营后台数据看板 |
| | | */ |
| | | @PostMapping("datakanban") |
| | | R dataKanban(); |
| | | R dataKanban(@RequestParam("areaCode")String areaCode); |
| | | |
| | | /** |
| | | * 用户菜单获取 |
| | |
| | | */ |
| | | @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); |
| | | } |