From aaf82dad5e609cc80b51bfca44f54c850aac9ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Wed, 19 Mar 2025 09:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 5 ++--- src/utils/enumData.js | 6 ++---- src/utils/httpRequest.js | 1 - 3 files changed, 4 insertions(+), 8 deletions(-) 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 }