value
2024-05-27 cdefd6a50721e2c4ba6df850e1405419f9df3c31
framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java
@@ -10,6 +10,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
/**
 * <p>
 * 消息通知 前端控制器
@@ -71,4 +73,12 @@
        informationNotificationService.triggerModificationStatusToRead(id);
        return Result.success();
    }
    @ApiOperation(value = "消息通知-获取首页四种消息数量")
    @GetMapping("getNumberFourTypesMessagesHomePage")
    @ValueAuth
    public Result<?> getNumberFourTypesMessagesHomePage() {
        Map<String, Object> data = informationNotificationService.getNumberFourTypesMessagesHomePage();
        return Result.success(data);
    }
}