xiangpei
2025-05-14 47cd9ecc0eff38ffe6b3b794b2bf197e958f4403
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
29
30
31
32
33
34
package com.mindskip.xzs.controller.student;
 
import com.mindskip.xzs.base.RestResponse;
import com.mindskip.xzs.domain.vo.StudentOnlineVO;
import com.mindskip.xzs.service.OnlineStudyService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @author:xp
 * @date:2024/5/16 17:50
 */
@RestController("studentOnlineStudy")
@RequiredArgsConstructor
@RequestMapping(value = "/api/student/online/study")
public class OnlineStudyController {
 
    private final OnlineStudyService service;
 
 
    @GetMapping("/byType")
    public RestResponse byType(StudentOnlineVO query) {
        return service.byType(query);
    }
 
    @GetMapping("/type/list")
    public RestResponse typeList() {
        return service.typeList();
    }
 
 
}