lsc 1 day ago
parent
commit
503ff9b840
1 changed files with 1 additions and 11 deletions
  1. 1 11
      js/Desktop/Onload.js

+ 1 - 11
js/Desktop/Onload.js

@@ -415,19 +415,9 @@ U.MD.D.getuser = function () {
             $("#U_MD_HomeC_Pop")[0].close()
             $("#U_MD_HomeC_Pop")[0].close()
         }
         }
         LoginState = true
         LoginState = true
-        // console.log('新华跳转',U.UF.C.queryString('code'))
-        let url = "https:"+ US.Config.pbl + "luohugetTeacherInfo"
-        var myHeaders = new Headers();
-        myHeaders.append("Content-Type", "application/json");
-
-        var raw = JSON.stringify({
-            "code": U.UF.C.queryString('code')
-        });
-
+        let url = "https:" + US.Config.pbl + "luohugetTeacherInfo?code=" + encodeURIComponent(U.UF.C.queryString('code'));
         var requestOptions = {
         var requestOptions = {
             method: 'GET',
             method: 'GET',
-            headers: myHeaders,
-            body: raw,
             redirect: 'follow'
             redirect: 'follow'
         };
         };