|
@@ -416,18 +416,16 @@ U.MD.D.getuser = function () {
|
|
}
|
|
}
|
|
LoginState = true
|
|
LoginState = true
|
|
// console.log('新华跳转',U.UF.C.queryString('code'))
|
|
// 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();
|
|
var myHeaders = new Headers();
|
|
- // myHeaders.append("User-Agent", "Apifox/1.0.0 (https://apifox.com)");
|
|
|
|
myHeaders.append("Content-Type", "application/json");
|
|
myHeaders.append("Content-Type", "application/json");
|
|
- // myHeaders.append("Access-Control-Allow-Origin","*")
|
|
|
|
|
|
|
|
var raw = JSON.stringify({
|
|
var raw = JSON.stringify({
|
|
"code": U.UF.C.queryString('code')
|
|
"code": U.UF.C.queryString('code')
|
|
});
|
|
});
|
|
|
|
|
|
var requestOptions = {
|
|
var requestOptions = {
|
|
- method: 'POST',
|
|
|
|
|
|
+ method: 'GET',
|
|
headers: myHeaders,
|
|
headers: myHeaders,
|
|
body: raw,
|
|
body: raw,
|
|
redirect: 'follow'
|
|
redirect: 'follow'
|