| | |
| | | public R updateUserIsPartymember(@RequestParam("idCard")String idCard){ |
| | | return userService.updateUserIsPartymember(idCard); |
| | | } |
| | | |
| | | /** |
| | | * 获取各种协议 |
| | | * @param type 1居民端app协议 2网格员端app协议 3商家端app协议 4隐私政策 |
| | | * @return 协议内容 |
| | | */ |
| | | @PostMapping("agreement") |
| | | public R agreement(@RequestParam("type")Integer type){ |
| | | return userService.agreement(type); |
| | | } |
| | | |
| | | /** |
| | | * 维护用户最后登录时间 |
| | | * @param userId 用户主键 |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("putuserlastlogintime") |
| | | public R putUserLastLoginTime(@RequestParam("userId")Long userId){ |
| | | return userService.putUserLastLoginTime(userId); |
| | | } |
| | | |
| | | } |