安全教育平台微信小程序(hbuilder打开后运行到微信开发者程序)
祖安之光
2025-08-07 5785bf8269c89f5098c60c18980ccb081b4adfe6
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: '/app/phase-student/getPhaseStudentById',
        method: 'GET',
        data
    })
}
 
export function getLessonDetail(data) {
    return service({
        url: '/app/resource/getResourceByPeriod',
        method: 'GET',
        data
    })
}
 
export function postNewStudy(data) {
    return service({
        url: '/app/student-study',
        method: 'POST',
        data
    })
}
 
export function postUpdateStudy(data) {
    return service({
        url: '/app/student-study/progress',
        method: 'POST',
        data
    })
}