|
@@ -60,8 +60,10 @@ http.adornUrl = (actionName) => {
|
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
|
// return 'https://chtech.ncjti.edu.cn/testingServer/waiMaiAdmin/' + actionName}
|
|
// return 'https://chtech.ncjti.edu.cn/testingServer/waiMaiAdmin/' + actionName}
|
|
|
// return 'http://iyfpk3.natappfree.cc/sqx_fast/' + actionName
|
|
// return 'http://iyfpk3.natappfree.cc/sqx_fast/' + actionName
|
|
|
|
|
+
|
|
|
// return 'https://mxys.chuanghai-tech.com/sqx_fast/' + actionName
|
|
// return 'https://mxys.chuanghai-tech.com/sqx_fast/' + actionName
|
|
|
-return 'https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast/' + actionName
|
|
|
|
|
|
|
+return 'http://192.168.161.190:8171/sqx_fast/' + actionName
|
|
|
|
|
+// return 'https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast/' + actionName
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
http.adornUrl2 = (actionName) => {
|
|
http.adornUrl2 = (actionName) => {
|
|
@@ -74,15 +76,17 @@ http.adornUrlMsg = (actionName) => {
|
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
|
// return 'https://chtech.ncjti.edu.cn/testingServer/waiMaiAdmin/' + actionName}
|
|
// return 'https://chtech.ncjti.edu.cn/testingServer/waiMaiAdmin/' + actionName}
|
|
|
// return 'http://iyfpk3.natappfree.cc/sqx_fast/' + actionName
|
|
// return 'http://iyfpk3.natappfree.cc/sqx_fast/' + actionName
|
|
|
|
|
+
|
|
|
// return 'https://mxys.chuanghai-tech.com/sqx_fast/' + actionName
|
|
// return 'https://mxys.chuanghai-tech.com/sqx_fast/' + actionName
|
|
|
-return 'https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast/' + actionName
|
|
|
|
|
|
|
+return 'http://192.168.161.190:8171/sqx_fast/' + actionName
|
|
|
|
|
+// return 'https://mxys.chuanghai-tech.com/wm-test/wm-api/sqx_fast/' + actionName
|
|
|
}
|
|
}
|
|
|
http.adornWss = (actionName) => {
|
|
http.adornWss = (actionName) => {
|
|
|
// 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截!
|
|
// 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截!
|
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
|
// return 'wss://www.daweilinli.com/wss/' + actionName
|
|
// return 'wss://www.daweilinli.com/wss/' + actionName
|
|
|
- // return 'wss://mxys.chuanghai-tech.com/wss/' + actionName
|
|
|
|
|
- return 'wss://mxys.chuanghai-tech.com/wss-test/' + actionName
|
|
|
|
|
|
|
+ return 'wss://mxys.chuanghai-tech.com/wss/' + actionName
|
|
|
|
|
+ // return 'wss://mxys.chuanghai-tech.com/wss-test/' + actionName
|
|
|
}
|
|
}
|
|
|
/**
|
|
/**
|
|
|
* get请求参数处理
|
|
* get请求参数处理
|