智慧教务系统
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

 fX oT

T;

1.

  • : GET /api/getStudentCourseInfo
  • :  c8\
  • : (tokenB4 JWTL
  • ͔<: Ƅ{code: 1, data: [], msg: "\"}

2. Mockpn

  •  Mockpnӄh9MAPIE<
  •  /Wmain_coach_name, single_session_count, remaining_count, db_statusI
  •  | / Wteacher_name, class_durationI

3. MM

  •  CourseInfoCard/APIW
  •  |H(main_coach_name 0teacher_name
  •  |H(single_session_count 0class_duration
  •  ڨ7ئP6 (7S

4. KՌ

  •  curlAPIcnpn
  •  MMock c8\ 6>:"(Mockpn: /getStudentCourseInfo"
  •  ub}( o
  •  / fID pn

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": " "
    }
  ]
}

Mockpn e:

  •  @ Wh9M
  •  pn{
  •  W} h

6. (A

  1. ub(getCourseInfo()
  2. Bpresource_id, member_id, student_id
  3. $(APIMockpn
  4. pn20CourseInfoCard

T:  

  • c8\
  • Mcn>:pn
  • Mockpnpnӄ
  • /(:o9ub~bI

\

  • W Mockpn>:;
  • pnX:6 B