| | |
| | | |
| | | |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "获取消息通知列表", tags = {"三个身边后台-消息通知"}) |
| | | @OperLog(operModul = "三个身边后台",operType = 0, businessType = "获取消息通知列表") |
| | | @ApiOperation(value = "获取消息通知列表", tags = {"西区纪委后台-消息通知"}) |
| | | @OperLog(operModul = "西区纪委后台",operType = 0, businessType = "获取消息通知列表") |
| | | public R<IPage<MessageNotification>> list(MessageNotificationList query) { |
| | | Integer id = this.getLoginUserInfoWest().getId(); |
| | | SystemUser systemUser = systemUserService.getById(id); |
| | |
| | | |
| | | |
| | | @PutMapping("/read/{id}") |
| | | @ApiOperation(value = "标记为已读", tags = {"三个身边后台-消息通知"}) |
| | | @OperLog(operModul = "三个身边后台",operType = 2, businessType = "标记为已读") |
| | | @ApiOperation(value = "标记为已读", tags = {"西区纪委后台-消息通知"}) |
| | | @OperLog(operModul = "西区纪委后台",operType = 2, businessType = "标记为已读") |
| | | public R read(@PathVariable("id") Integer id) { |
| | | MessageNotification messageNotification = messageNotificationService.getById(id); |
| | | if(messageNotification.getReadStatus()==1){ |
| | |
| | | |
| | | |
| | | @GetMapping("/unreadCount") |
| | | @ApiOperation(value = "获取未读数量", tags = {"三个身边后台-消息通知"}) |
| | | @OperLog(operModul = "三个身边后台",operType = 0, businessType = "获取未读数量") |
| | | @ApiOperation(value = "获取未读数量", tags = {"西区纪委后台-消息通知"}) |
| | | @OperLog(operModul = "西区纪委后台",operType = 0, businessType = "获取未读数量") |
| | | public R unreadCount() { |
| | | Integer id = this.getLoginUserInfoWest().getId(); |
| | | SystemUser systemUser = systemUserService.getById(id); |