| | |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.MenuVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.user.ChangePasswordVO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/updateUserWeiXinInfo") |
| | | R updateUserWeiXinInfo(@RequestParam("userId")Integer userId, @RequestParam("nickName")String nickName, @RequestParam("gender")int gender, @RequestParam("avatarUrl")String avatarUrl); |
| | | R updateUserWeiXinInfo(@RequestParam("userId")Long userId, @RequestParam("nickName")String nickName, @RequestParam("gender")int gender, @RequestParam("avatarUrl")String avatarUrl); |
| | | |
| | | /** |
| | | * 维护微信用户手机号 |
| | |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/updateUserWeiXinPhone") |
| | | R updateUserWeiXinPhone(@RequestParam("userId")Integer userId, @RequestParam("purePhoneNumber")String purePhoneNumber); |
| | | R updateUserWeiXinPhone(@RequestParam("userId")Long userId, @RequestParam("purePhoneNumber")String purePhoneNumber); |
| | | |
| | | /** |
| | | * 获取平台用户 |
| | |
| | | */ |
| | | @PostMapping("/role/listidentity") |
| | | R listIdentity(@RequestParam("communityId")Integer communityId); |
| | | |
| | | /** |
| | | * 修改用户登录密码 |
| | | * @param changePasswordVO 新密码 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/user/changepassword") |
| | | R changePassword(@RequestBody ChangePasswordVO changePasswordVO); |
| | | |
| | | /** |
| | | * 某社区后台人员查询 |
| | | * @param param 名字 |
| | | * @param communityId 社区id |
| | | * @return 人员集合 |
| | | */ |
| | | @PostMapping("/user/listactivitymanager") |
| | | R listActivityManager(@RequestParam("param") String param, @RequestParam("communityId")Long communityId); |
| | | } |