Showing
1 changed file
with
33 additions
and
1 deletions
@@ -20,4 +20,36 @@ | @@ -20,4 +20,36 @@ | ||
20 | } | 20 | } |
21 | ``` | 21 | ``` |
22 | 22 | ||
23 | -> 在这个接口中,`classTypeList`字段的参数值为固定写死的。 | 23 | +> 在这个接口中,`classTypeList`字段的参数值为固定写死的。 |
24 | + | ||
25 | + | ||
26 | +##### 2. 创建班级,创建课表接口 | ||
27 | + | ||
28 | +- URL: {{localhost}}/boxfish-online-card/classOnline/manage/createStudentSchedule | ||
29 | +- Method: POST | ||
30 | +- RequestBody: | ||
31 | + | ||
32 | +```json5 | ||
33 | +{ | ||
34 | + "operationAccount": "xxx@b.cb", | ||
35 | + "orderEntityId": 326, | ||
36 | + "name": "326-测试班课", | ||
37 | + "englishName": "326-test_class_name", | ||
38 | + "grade": "GRADE_5_B", | ||
39 | + "mentorName": "测试mentor", | ||
40 | + "classOpenTime": 1560528000000, | ||
41 | + "classCloseTime": 1561824000000, | ||
42 | + "scheduleList": [ | ||
43 | + { | ||
44 | + "weekend": "MONDAY", | ||
45 | + "scheduleStartTime": 1561111200000, | ||
46 | + "scheduleEndTime": 1561113000000 | ||
47 | + }, | ||
48 | + { | ||
49 | + "weekend": "THURSDAY", | ||
50 | + "scheduleStartTime": 1561120200000, | ||
51 | + "scheduleEndTime": 1561121700000 | ||
52 | + } | ||
53 | + ] | ||
54 | +} | ||
55 | +``` |
-
Please register or login to post a comment