diff --git a/config/index.js b/config/index.js index 744265f..6d738f4 100644 --- a/config/index.js +++ b/config/index.js @@ -14,9 +14,8 @@ module.exports = { // 代理列表, 是否开启代理通过[./dev.env.js]配置 proxyTable: devEnv.OPEN_PROXY === false ? {} : { '/proxyApi': { - // target: "https://sausers.blxinchuang.com/sqx_fast/", - target: "http://localhost:8187/sqx_fast/", - // target: "https://admin.sjajk.com/sqx_fast/", //生产需替换 + // target: "http://localhost:8187/sqx_fast/", + target: "https://admin.sjajk.com/sqx_fast/", //生产需替换 changeOrigin: true, pathRewrite: { '^/proxyApi': '' diff --git a/src/utils/enumData.js b/src/utils/enumData.js index 4e90842..4be7c76 100644 --- a/src/utils/enumData.js +++ b/src/utils/enumData.js @@ -1,9 +1,7 @@ import Vue from 'vue' -// const serverUrl = "https://admin.sjajk.com/sqx_fast/";//生产需替换 -const serverUrl = "http://localhost:8187/sqx_fast/"; -// const serverUrl = "http://120.46.52.165/sqx_fast/"; -// const serverUrl = "https://sausers.blxinchuang.com/sqx_fast/"; +const serverUrl = "https://admin.sjajk.com/sqx_fast/";//生产需替换 +// const serverUrl = "http://localhost:8187/sqx_fast/"; export const serverPaths = { serverUrl , diff --git a/src/utils/httpRequest.js b/src/utils/httpRequest.js index 9f60ffd..5560912 100644 --- a/src/utils/httpRequest.js +++ b/src/utils/httpRequest.js @@ -53,7 +53,6 @@ http.adornUrl = (actionName) => { http.adornWss = (actionName) => { // 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截! // return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName - // return 'wss://sausers.blxinchuang.com/wss/' + actionName return 'wss://admin.sjajk.com/wss/' + actionName //生产需替换 // return 'https://anmoadmin5.0.xianmaxiong.comsqx_fast/' + actionName }