|
@@ -20,23 +20,23 @@ export function _intelligentGetKeys (params) {
|
20
|
20
|
export function _intelligentCourses (params) {
|
21
|
21
|
return fetch('/parents/Intelligent/pickLigentCourse', params)
|
22
|
22
|
}
|
23
|
|
-// 获取课程筛选选项 parents/Mycourses/advanced_filter
|
|
23
|
+// 获取课程筛选选项
|
24
|
24
|
export function _filter (params) {
|
25
|
25
|
return fetch('/parents/Mycourses/advanced_filter', params)
|
26
|
26
|
}
|
27
|
|
-// 课程详情 parents/Mycourses/course_details
|
|
27
|
+// 课程详情
|
28
|
28
|
export function _detail (params) {
|
29
|
29
|
return fetch('/parents/Mycourses/course_details', params)
|
30
|
30
|
}
|
31
|
|
-// 课程套餐详情 parents/Mycourses/course_gift
|
|
31
|
+// 课程套餐详情
|
32
|
32
|
export function _gift (params) {
|
33
|
33
|
return fetch('/parents/Mycourses/course_gift', params)
|
34
|
34
|
}
|
35
|
|
-// 课程评价 parents/Mycourses/now_details_comment
|
|
35
|
+// 课程评价
|
36
|
36
|
export function _comments (params) {
|
37
|
37
|
return fetch('/parents/Mycourses/now_details_comment', params, 'POST', false)
|
38
|
38
|
}
|
39
|
|
-// 添加购物车 parents/Commit/join_shop
|
|
39
|
+// 添加购物车
|
40
|
40
|
export function _joinShop (params, showFail = true) {
|
41
|
41
|
return fetch('/parents/Commit/join_shop', params, 'POST', showFail)
|
42
|
42
|
}
|
|
@@ -44,23 +44,23 @@ export function _joinShop (params, showFail = true) {
|
44
|
44
|
export function _joinShops (params) {
|
45
|
45
|
return fetch('/parents/Commit/joinShopMulti', params)
|
46
|
46
|
}
|
47
|
|
-// 购物车列表 /parents/Shopping/index
|
|
47
|
+// 购物车列表
|
48
|
48
|
export function _shopList (params) {
|
49
|
49
|
return fetch('/parents/Shopping/index', params)
|
50
|
50
|
}
|
51
|
|
-// 删除购物车 /parents/Shopping/del_shopping
|
|
51
|
+// 删除购物车
|
52
|
52
|
export function _delShop (params) {
|
53
|
53
|
return fetch('/parents/Shopping/del_shopping', params)
|
54
|
54
|
}
|
55
|
|
-// 生成订单 parents/Commit/order
|
|
55
|
+// 生成订单
|
56
|
56
|
export function _createOrder (params) {
|
57
|
57
|
return fetch('/parents/Commit/order', params)
|
58
|
58
|
}
|
59
|
|
-// 订单列表 parents/Ordercentre/index
|
|
59
|
+// 订单列表
|
60
|
60
|
export function _orderCenter (params) {
|
61
|
61
|
return fetch('/parents/Ordercentre/index', params)
|
62
|
62
|
}
|
63
|
|
-// 退课数据 get_dropcourse_byorder
|
|
63
|
+// 退课数据
|
64
|
64
|
export function _dropList (params) {
|
65
|
65
|
return fetch('/parents/dropcourse/get_dropcourse_byorder', params)
|
66
|
66
|
}
|
|
@@ -68,43 +68,43 @@ export function _dropList (params) {
|
68
|
68
|
export function _payOrder (params) {
|
69
|
69
|
return fetch('/parents/pay/payment', params)
|
70
|
70
|
}
|
71
|
|
-// 取消订单 /parents/Ordercentre/del_order
|
|
71
|
+// 取消订单
|
72
|
72
|
export function _cancelOrder (params) {
|
73
|
73
|
return fetch('/parents/Ordercentre/del_order', params)
|
74
|
74
|
}
|
75
|
|
-// 进行退课 /parents/dropcourse/to_drop_course
|
|
75
|
+// 进行退课
|
76
|
76
|
export function _dropCourse (params) {
|
77
|
77
|
return fetch('/parents/dropcourse/to_drop_course', params)
|
78
|
78
|
}
|
79
|
|
-// 历史课程 /parents/Mycourses/course_history
|
|
79
|
+// 历史课程
|
80
|
80
|
export function _courseHistory (params) {
|
81
|
81
|
return fetch('/parents/Mycourses/course_history', params)
|
82
|
82
|
}
|
83
|
|
-// 我的课程 /parents/Mycourses/course_history
|
|
83
|
+// 我的课程
|
84
|
84
|
export function _nowCourse (params) {
|
85
|
85
|
return fetch('/parents/Mycourses/now_course', params)
|
86
|
86
|
}
|
87
|
|
-// 课程表 /parents/Mycourses/date_course
|
|
87
|
+// 课程表
|
88
|
88
|
export function _dateCourse (params) {
|
89
|
89
|
return fetch('/parents/Mycourses/date_course', params)
|
90
|
90
|
}
|
91
|
|
-// 考勤记录 /parents/attendance/get_attendance
|
|
91
|
+// 考勤记录
|
92
|
92
|
export function _attendance (params) {
|
93
|
93
|
return fetch('/parents/attendance/get_attendance', params)
|
94
|
94
|
}
|
95
|
|
-// 课堂详情 /parents/dailyclass/get_dailyclass_details
|
|
95
|
+// 课堂详情
|
96
|
96
|
export function _dailiClass (params) {
|
97
|
97
|
return fetch('/parents/dailyclass/get_dailyclass_details', params)
|
98
|
98
|
}
|
99
|
|
-// 安全交接情况 /parents/sign/get_sign
|
|
99
|
+// 安全交接情况
|
100
|
100
|
export function _getSignIn (params) {
|
101
|
101
|
return fetch('/parents/sign/get_sign', params)
|
102
|
102
|
}
|
103
|
|
-// 进行安全交接 /parents/sign/to_sign
|
|
103
|
+// 进行安全交接
|
104
|
104
|
export function _toSignIn (params) {
|
105
|
105
|
return fetch('/parents/sign/to_sign', params)
|
106
|
106
|
}
|
107
|
|
-// 进行评价 /parents/Todayclass/comment
|
|
107
|
+// 进行评价
|
108
|
108
|
export function _tocomment (params) {
|
109
|
109
|
return fetch('/parents/Todayclass/comment', params)
|
110
|
110
|
}
|
|
@@ -126,13 +126,13 @@ export function _getStudentFiles (params) {
|
126
|
126
|
}
|
127
|
127
|
//获取年级
|
128
|
128
|
export function _getGrades () {
|
129
|
|
- return fetch('/parents/init/get_grades')
|
|
129
|
+ return fetch('/parents/student/grade_list')
|
130
|
130
|
}
|
131
|
131
|
//获取班级
|
132
|
132
|
export function _getClasses (params) {
|
133
|
|
- return fetch('/parents/init/get_classes', params)
|
|
133
|
+ return fetch('/parents/student/class_list', params)
|
134
|
134
|
}
|
135
|
135
|
//修改信息
|
136
|
136
|
export function _fixStudent (params) {
|
137
|
|
- return fetch('/parents/init/edit_student', params)
|
|
137
|
+ return fetch('/parents/student/update', params)
|
138
|
138
|
}
|