lsc 1 日 前
コミット
503ff9b840
1 ファイル変更1 行追加11 行削除
  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'
         };