Bladeren bron

课程列表加入周边

huodongdong 7 jaren geleden
bovenliggende
commit
d4f1e3d210
1 gewijzigde bestanden met toevoegingen van 30 en 3 verwijderingen
  1. 30 3
      api/cms/course/course_one.md

+ 30 - 3
api/cms/course/course_one.md

@@ -18,6 +18,7 @@
 | digest| string | 描述 |
 | tags | array | 标签名数组 |
 | subItemList | array | 课数组 |
+| supportList | array | 周边数组 |
 | cpId| int | 内容提供商id |
 | cpName| string | 内容提供商名字 |
 | state| int| 状态 |
@@ -33,14 +34,14 @@
     "data": {
         "id": 1511767193919357,
         "code": "C-test-311",
-        "name": "小学310",
+        "name": "小学311",
         "title": null,
         "digest": null,
         "detail": null,
         "keyword": null,
         "cvImgIds": null,
         "bgImgIds": null,
-        "status": "NORMAL",
+        "status": null,
         "gmtCreated": null,
         "gmtModified": null,
         "subItemList": [
@@ -57,13 +58,39 @@
             {
                 "id": 1511504034666794,
                 "code": "K-test-310",
-                "name": "小学310",
+                "name": "小学311",
                 "digest": null,
                 "type": "LESSON",
                 "status": null,
                 "gmtCreated": null,
                 "gmtModified": null
             }
+        ],
+        "supportList": [
+            {
+                "id": 1511835822190182,
+                "code": "S-test-310",
+                "name": "小学310",
+                "title": null,
+                "digest": null,
+                "detail": null,
+                "imgIds": null,
+                "status": null,
+                "gmtCreated": null,
+                "gmtModified": null
+            },
+            {
+                "id": 1511837565816595,
+                "code": "S-test-311",
+                "name": "小学311",
+                "title": null,
+                "digest": null,
+                "detail": null,
+                "imgIds": null,
+                "status": null,
+                "gmtCreated": null,
+                "gmtModified": null
+            }
         ]
     }
 }