springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -496,5 +496,24 @@ 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); } }