lsc 3 týždňov pred
rodič
commit
159fb904fd
1 zmenil súbory, kde vykonal 2 pridanie a 4 odobranie
  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'