zxl
3 小时以前 3b0516a2959e25576e4f3fda697a3b025d06c8c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);
    }
 
}