Browse Source

Merge pull request #457 from XingHeYuZhuan/pending

星河欲转 1 month ago
parent
commit
b1678bf0aa
2 changed files with 3 additions and 3 deletions
  1. 2 2
      resources/GLMU/adapters.yaml
  2. 1 1
      resources/GLMU/glmu.js

+ 2 - 2
resources/GLMU/adapters.yaml

@@ -4,6 +4,6 @@ adapters:
     adapter_name: "桂林医科大学教务"
     adapter_name: "桂林医科大学教务"
     category: "BACHELOR_AND_ASSOCIATE"
     category: "BACHELOR_AND_ASSOCIATE"
     asset_js_path: "glmu.js"
     asset_js_path: "glmu.js"
-    import_url: "https://ejwc.glmu.edu.cn/"
+    import_url: "https://ejwc.glmc.edu.cn/"
     maintainer: "xhh李"
     maintainer: "xhh李"
-    description: "桂林医科大学教务,本校开发者适配,如果有误请加入QQ频道:pd12631377"
+    description: "桂林医科大学教务,本校开发者适配,如果有误请加入QQ频道:pd12631377"

+ 1 - 1
resources/GLMU/glmu.js

@@ -95,7 +95,7 @@ async function fetchCourseData(xnxqdm) {
     let total = 0;
     let total = 0;
 
 
     while (true) {
     while (true) {
-        const res = await fetch("https://ejwc.glmu.edu.cn/xsgrkbcx!getDataList.action", {
+        const res = await fetch("https://ejwc.glmc.edu.cn/xsgrkbcx!getDataList.action", {
             headers: {
             headers: {
                 "accept": "application/json, text/javascript, */*; q=0.01",
                 "accept": "application/json, text/javascript, */*; q=0.01",
                 "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
                 "content-type": "application/x-www-form-urlencoded; charset=UTF-8",