Explorar o código

在 README.md 和 schools.json 中添加了适配类别字段说明

xiyu505 hai 2 meses
pai
achega
576ac7f4eb
Modificáronse 2 ficheiros con 7 adicións e 3 borrados
  1. 3 1
      README.md
  2. 4 2
      schools.json

+ 3 - 1
README.md

@@ -20,6 +20,7 @@
 | `importUrl`    | String  | 教务系统登录的 URL                      |
 | `assetJsPath`  | String  | 适配脚本路径(如 `schools/school.js`)  |
 | `maintainer`   | String  | 维护者信息(如姓名或 GitHub 用户名)    |
+| `category`   | String  | 适配类别。`BACHELOR_AND_ASSOCIATE` 表示“本科/专科”,`POSTGRADUATE` 表示“研究生”,`GENERAL_TOOL` 表示“通用工具”。 |
 
 示例:
 ```json
@@ -30,7 +31,8 @@
     "initial": "C",
     "importUrl": "",
     "assetJsPath": "schools/school.js",
-    "maintainer": "星河欲转"
+   "maintainer": "星河欲转",
+   "category": "GENERAL_TOOL"
   }
 ]
 ```

+ 4 - 2
schools.json

@@ -5,7 +5,8 @@
     "initial": "C",
     "importUrl": "",
     "assetJsPath" : "schools/school.js",
-    "maintainer": "星河欲转"
+    "maintainer": "星河欲转",
+    "category": "GENERAL_TOOL"
   },
   {
     "id": "school_cust",
@@ -13,6 +14,7 @@
     "initial": "C",
     "importUrl": "https://mysso.cust.edu.cn/cas/login?service=https://jwgl.cust.edu.cn/welcome",
     "assetJsPath": "schools/cust.js",
-    "maintainer": "itdong"
+    "maintainer": "itdong",
+    "category": "BACHELOR_AND_ASSOCIATE"
   }
 ]