| | |
| | | * @return 人员详情 |
| | | */ |
| | | @PostMapping("detailuser") |
| | | public R detailUser(@RequestParam("userId") Long userId) { |
| | | public R<LoginUserInfoVO> detailUser(@RequestParam("userId") Long userId) { |
| | | return userService.detailUser(userId); |
| | | } |
| | | |
| | |
| | | @PostMapping("putuserbackstage") |
| | | R putUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO) { |
| | | return userService.putUserBackstage(administratorsUserVO); |
| | | } |
| | | |
| | | /** |
| | | * 更新 |
| | | * |
| | | * @param administratorsUserVO |
| | | * 编辑账户内容 |
| | | * @return 编辑结果 |
| | | */ |
| | | @PostMapping("updateStreet") |
| | | R updateStreet(@RequestBody AdministratorsUserVO administratorsUserVO) { |
| | | return userService.updateStreetId(administratorsUserVO); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return 运营后台数据看板 |
| | | */ |
| | | @PostMapping("datakanban") |
| | | public R dataKanban() { |
| | | return userService.dataKanban(); |
| | | public R dataKanban(@RequestParam("areaCode")String areaCode) { |
| | | return userService.dataKanban(areaCode); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return 用户数据统计汇总 |
| | | */ |
| | | @GetMapping("community/statistics") |
| | | public R communityStatistics() { |
| | | return userService.communityStatistics(); |
| | | public R communityStatistics(@RequestParam("areaCode") String areaCode) { |
| | | return userService.communityStatistics(areaCode); |
| | | } |
| | | |
| | | @GetMapping("community/statistics/export") |
| | | public R communityStatisticsExport() { |
| | | return userService.communityStatisticsExport(); |
| | | public R communityStatisticsExport(@RequestParam("areaCode") String areaCode) { |
| | | return userService.communityStatisticsExport(areaCode); |
| | | } |
| | | |
| | | /** |
| | |
| | | public R bindOrAddMcsUser(@RequestBody BindUserPhoneDTO bindUserPhoneDTO) { |
| | | return userService.bindOrAddMcsUser(bindUserPhoneDTO); |
| | | } |
| | | |
| | | /** |
| | | * 删除用户信息缓存 |
| | | * @param phone |
| | | */ |
| | | @DeleteMapping("/deleteUserCashByPhone") |
| | | public R deleteUserCashByPhone(@RequestParam("phone") String phone) { |
| | | return userService.deleteUserCashByPhone(phone); |
| | | } |
| | | |
| | | } |