马宇豪
2024-07-16 518fe95206669eee05488d364c8d3528eaff604f
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
import {service} from '../common/request.js';
 
export function getCourseDetail(data) {
  return service({
        url: '/api/app/phase-student/getPhaseStudentById',
        method: 'GET',
        data
    })
}
 
export function getLessonDetail(data) {
    return service({
        url: '/api/app/resource/getResourceByPeriod',
        method: 'GET',
        data
    })
}
 
export function postNewStudy(data) {
    return service({
        url: '/api/app/student-study',
        method: 'POST',
        data
    })
}
 
export function postUpdateStudy(data) {
    return service({
        url: '/api/app/student-study/progress',
        method: 'POST',
        data
    })
}