xiangpei
2024-09-03 bd97fda26e0432ae5634f6756b94f4169350c0f0
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);
    }
 
}