Parcourir la source

课纲数据结构

CrazyIter_Bin il y a 4 ans
Parent
commit
18ff7a57df

+ 3 - 0
TEAMModelOS.SDK/Models/Cosmos/Common/Inner/SyllabusTree.cs

@@ -15,6 +15,9 @@ namespace TEAMModelOS.SDK.Models
         public SyllabusTreeNode(){
             trees = new List<SyllabusTree>();
         }
+        /// <summary>
+        /// 课纲章节id
+        /// </summary>
         public string  id { get; set; }
         /// <summary>
         /// 册别的id

+ 18 - 1
TEAMModelOS/Controllers/Syllabus/SyllabusController.cs

@@ -37,7 +37,24 @@ namespace TEAMModelOS.Controllers
             _dingDing = dingDing;
             _option = option?.Value;
         }
-
+        /*
+         [
+            {
+                "id": "章节id",
+                "volumeId": "册别id",
+                "scope": "school",
+                "trees": [
+                    {
+                        "id": "b2b15c99-83cc-eca7-5b4b-e58d2a457c8e",
+                        "pid": "0baf00db-0768-4b62-a8f7-280f6bcebf71",
+                        "title": "第一单元",
+                        "type": 1,
+                        "children": []
+                    }
+                ]
+            }
+        ]
+         */
         /// <summary>
         /// 批量保存或更新课纲
         ///