| | |
| | | package com.panzhihua.service_user.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; |
| | | import com.panzhihua.common.model.dtos.user.SysUserFeedbackDTO; |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.SystemmanagementConfigVO; |
| | | import com.panzhihua.common.model.vos.user.*; |
| | | import com.panzhihua.service_user.service.UserService; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | public R listComMngUserTag(@RequestParam("communityId")Long communityId){ |
| | | return userService.listComMngUserTag(communityId); |
| | | } |
| | | |
| | | /** |
| | | * 新增删除用户标签 |
| | | * @param systemmanagementConfigVO 操作内容 |
| | | * @return 操作结果 |
| | | */ |
| | | @PostMapping("putcommngusertag") |
| | | public R putComMngUserTag(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO){ |
| | | return userService.putComMngUserTag(systemmanagementConfigVO); |
| | | } |
| | | |
| | | /** |
| | | * 分页查询小程序用户 |
| | | * @param pageUserAppletsBackstageDTO 查询参数 |
| | | * @return 分页集合 |
| | | */ |
| | | @PostMapping("pageuserappletsbackstage") |
| | | public R pageUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO){ |
| | | return userService.pageUserAppletsBackstage(pageUserAppletsBackstageDTO); |
| | | } |
| | | |
| | | /** |
| | | * 编辑用户状态 |
| | | * @param pageUserAppletsBackstageDTO 启用或者禁用 1 启用 2 禁用 |
| | | * @return 编辑结果 |
| | | */ |
| | | @PostMapping("putuserappletsbackstage") |
| | | public R putUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO){ |
| | | return userService.putUserAppletsBackstage(pageUserAppletsBackstageDTO); |
| | | } |
| | | |
| | | /** |
| | | * 调试接口--清除昵称、社区、小区 |
| | | * @param userId 登录用户id |
| | | * @return 清除结果 |
| | | */ |
| | | @PostMapping("deleteusertest") |
| | | public R deleteUserTest(@RequestParam("userId")Long userId){ |
| | | return userService.deleteUserTest(userId); |
| | | } |
| | | |
| | | /** |
| | | * 用户协议和隐私政策 |
| | | * @param type 所属app 1居民端app 2网格员端app 3商家端app |
| | | * @return 协议内容 |
| | | */ |
| | | @PostMapping("useragreement") |
| | | public R userAgreement(@RequestParam("type")int type){ |
| | | return userService.userAgreement(type); |
| | | } |
| | | |
| | | /** |
| | | * 意见反馈 |
| | | * @param sysUserFeedbackDTO 反馈内容 |
| | | * @return 反馈结果 |
| | | */ |
| | | @PostMapping("addfeedback") |
| | | public R addFeedback(@RequestBody SysUserFeedbackDTO sysUserFeedbackDTO){ |
| | | return userService.addFeedback(sysUserFeedbackDTO); |
| | | } |
| | | } |