fuliqi
2024-08-09 b04753affc29f1042d0eb75b0af87824a0f4a8aa
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);
    }
 
}