修改请求路基
This commit is contained in:
parent
e0d99c0030
commit
6aaafaf754
|
|
@ -4,12 +4,19 @@ let aqEnnable = false // 参数加密开关
|
|||
// const URL_IP="http://11.158.16.194:21624/zhgd-web"
|
||||
|
||||
// const commonUrl = "http://192.168.1.107:13030/zhgd/";
|
||||
const URL_IP="http://192.168.0.38:21624/zhgds/zhgd-web"
|
||||
// const URL_IP="http://192.168.0.38:21624/zhgd-web"
|
||||
|
||||
//const URL_IP="http://sgwpdm.ah.sgcc.com.cn/jjgdweb/zhgd-web"
|
||||
|
||||
const URL_IP="http://sgwpdm.ah.sgcc.com.cn/ahsfs/zhgd-web"
|
||||
//前端
|
||||
// const URL_IP="http://127.0.0.1:63343/ah_jjzhgd_webscreen"
|
||||
const commonUrl = "http://192.168.0.38:13030/zhgd/";
|
||||
// const commonUrl = "http://192.168.0.38:13030/zhgd/";
|
||||
|
||||
const commonUrl = "http://sgwpdm.ah.sgcc.com.cn/zhgd/";
|
||||
// const commonUrl = "http://192.168.1.105:18080/zhgd/";
|
||||
const imgUrl = "http://192.168.0.38:13030/zhgd/file/files/";
|
||||
// const imgUrl = "http://192.168.0.38:13030/zhgd/file/files/";
|
||||
const imgUrl = "http://sgwpdm.ah.sgcc.com.cn/zhgd/file/files/";
|
||||
// //前端路径
|
||||
// let isc_login="http://iscssotest.ah.sgcc.com.cn/isc_sso/login?service=";
|
||||
/* 登录相关 */
|
||||
|
|
@ -17,9 +24,14 @@ const login_url = commonUrl + "auth/login"; // 登录url
|
|||
const sgcc_url = commonUrl + "auth/sgccLogin"; // 登录url
|
||||
const login_out = commonUrl + "auth/logout"; // 登出url
|
||||
const page_jump = commonUrl + "auth/pageJump"; // 登出url
|
||||
const back_url="http://192.168.0.38:9527/zhgd-ht/#/ywgllogin?token=";
|
||||
const screen_url="http://localhost:63343/ah_jjzhgd_webscreen/pages/web/index.html";;
|
||||
|
||||
// const back_url="http://192.168.0.38:9527/zhgd-ht/#/ywgllogin?token=";
|
||||
//后台登录地址
|
||||
const back_url="http://sgwpdm.ah.sgcc.com.cn/jjgdweb/zhgd-ht/#/ywgllogin?token=";
|
||||
|
||||
// const screen_url="http://localhost:63343/ah_jjzhgd_webscreen/pages/web/index.html";
|
||||
const screen_url="http://sgwpdm.ah.sgcc.com.cn/ahsfs/zhgd-web/pages/web/index.html";
|
||||
//const screen_url="http://sgwpdm.ah.sgcc.com.cn/jjgdweb/zhgd-web/pages/web/index.html";
|
||||
|
||||
let SGCC_LOGIN_URL="http://sgwpdm.ah.sgcc.com.cn/";
|
||||
|
||||
|
|
|
|||
|
|
@ -214,6 +214,9 @@
|
|||
const tokens = urlParam.get('token'); // 输出: "value1"
|
||||
console.log(path)
|
||||
console.log(tokens)
|
||||
// if(tokens==null || tokens===''){
|
||||
// window.location.href = SGCC_LOGIN_URL;
|
||||
// }
|
||||
const params = {
|
||||
"token":tokens,
|
||||
"loginType": 2
|
||||
|
|
|
|||
Loading…
Reference in New Issue