You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
fXoT
T;
1.
- :
GET /api/getStudentCourseInfo - : c8\
- : (
tokenB4 JWTL - ͔<: Ƅ
{code: 1, data: [], msg: "\"}
2. Mockpn
- Mockpnӄh9MAPIE<
- /W
main_coach_name,single_session_count,remaining_count,db_statusI - |/ W
teacher_name,class_durationI
3. MM
- CourseInfoCard/APIW
- |H(
main_coach_name0teacher_name - |H(
single_session_count0class_duration - ڨ7ئP6(7S
4. KՌ
- curlAPIcnpn
- MMock c8\6>:"(Mockpn: /getStudentCourseInfo"
- ub}(o
- / fIDpn
5. pnӄ
APIE:
{
"code": 1,
"data": [
{
"id": 23,
"course_name": "��",
"total_count": 28,
"used_count": 10,
"remaining_count": 18,
"formal_hours": 24,
"gift_hours": 4,
"used_formal_hours": 8,
"used_gift_hours": 2,
"leave_count": 0,
"start_date": "2024-01-01",
"expiry_date": "2024-12-31",
"status": "active",
"single_session_count": 90,
"main_coach_name": " "
}
]
}
Mockpne:
- @ Wh9M
- pn{
- W} h
6. (A
- ub(
getCourseInfo() - Bp
resource_id,member_id,student_id - $(APIMockpn
- pn20CourseInfoCard
T:
- c8\
- Mcn>:pn
- Mockpnpnӄ
- /(:o9ub~bI
\
- WMockpn>:;
- pnX:6 B