package com.ycl.platform.controller; import com.ycl.platform.domain.query.NotifyQuery; import com.ycl.platform.service.NotifyService; import com.ycl.system.Result; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.*; /** * @author:xp * @date:2024/4/29 9:38 */ @RestController @RequiredArgsConstructor @RequestMapping("/notify") public class NotifyController { private final NotifyService notifyService; @PostMapping("/page") public Result page(@RequestBody NotifyQuery query) { return notifyService.page(query); } }