lsc 3 周之前
父節點
當前提交
159fb904fd
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      js/Desktop/Onload.js

+ 2 - 4
js/Desktop/Onload.js

@@ -416,18 +416,16 @@ U.MD.D.getuser = function () {
         }
         LoginState = true
         // console.log('新华跳转',U.UF.C.queryString('code'))
-        let url = "https://cloud.cocorobo.cn/api/getTeacherInfoByCode"
+        let url = US.Config.pbl + "luohugetTeacherInfo"
         var myHeaders = new Headers();
-        // myHeaders.append("User-Agent", "Apifox/1.0.0 (https://apifox.com)");
         myHeaders.append("Content-Type", "application/json");
-        // myHeaders.append("Access-Control-Allow-Origin","*")
 
         var raw = JSON.stringify({
             "code": U.UF.C.queryString('code')
         });
 
         var requestOptions = {
-            method: 'POST',
+            method: 'GET',
             headers: myHeaders,
             body: raw,
             redirect: 'follow'