bug
lohir
2024-10-16 2452d77a4efc6be0ac8794c69374be40fccc74e8
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
26
27
28
package com.ycl.jxkg.controller.student;
 
import com.ycl.jxkg.base.Result;
import com.ycl.jxkg.domain.vo.admin.education.EducationResourceVO;
import com.ycl.jxkg.service.EducationResourceService;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
 
import javax.validation.constraints.NotEmpty;
import java.util.List;
 
/**
 * @author:xp
 * @date:2024/5/16 10:58
 */
@RestController("StudentEducationResourceController")
@RequiredArgsConstructor
@RequestMapping(value = "/api/student/education/resource")
public class EducationResourceController {
 
    private final EducationResourceService service;
 
    @GetMapping("/page")
    public Result page(EducationResourceVO query) {
        return service.studentPage(query);
    }
}