| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * 消息通知 前端控制器 |
| | |
| | | informationNotificationService.triggerModificationStatusToRead(id); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "消息通知-获取首页四种消息数量") |
| | | @GetMapping("getNumberFourTypesMessagesHomePage") |
| | | @ValueAuth |
| | | public Result<?> getNumberFourTypesMessagesHomePage() { |
| | | Map<String, Object> data = informationNotificationService.getNumberFourTypesMessagesHomePage(); |
| | | return Result.success(data); |
| | | } |
| | | } |