lsc há 1 dia atrás
pai
commit
503ff9b840
1 ficheiros alterados com 1 adições e 11 exclusões
  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()
         }
         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 = {
             method: 'GET',
-            headers: myHeaders,
-            body: raw,
             redirect: 'follow'
         };