| | |
| | | import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO; |
| | | import com.panzhihua.common.model.vos.community.ComActMicroWishVO; |
| | | import com.panzhihua.common.model.vos.user.NoticeUnReadVO; |
| | | import com.panzhihua.common.model.vos.user.SysUserAgreementVO; |
| | | import com.panzhihua.common.model.vos.user.SysUserNoticeVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.service.user.UserService; |
| | |
| | | return userService.noticeUnreadNum(userId); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取各种协议",response = SysUserAgreementVO.class) |
| | | @GetMapping("agreement") |
| | | @ApiImplicitParam(name = "type",value = "1居民端app协议 2网格员端app协议 3商家端app协议 4隐私政策") |
| | | public R agreement (@RequestParam("type")Integer type){ |
| | | return userService.agreement(type); |
| | | } |
| | | |
| | | } |