|
@@ -4,7 +4,7 @@ import router from '@/router'
|
|
|
import qs from 'qs'
|
|
|
import merge from 'lodash/merge'
|
|
|
import { clearLoginInfo } from '@/utils'
|
|
|
-export const entryName = '招聘7.0系统';
|
|
|
+export const entryName = '亿职赞管理系统';
|
|
|
const http = axios.create({
|
|
|
timeout: 1000 * 30,
|
|
|
withCredentials: true,
|
|
@@ -43,15 +43,15 @@ http.interceptors.response.use(response => {
|
|
|
http.adornUrl = (actionName) => {
|
|
|
// 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截!
|
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
|
- // return 'http://192.168.0.133:7155/sqx_fast/' + actionName
|
|
|
+ return 'http://yizhizan.edccc.cn/sqx_fast' + actionName
|
|
|
// return 'https://zpadmin.xianmaxiong.com/sqx_fast/' + actionName
|
|
|
- return '/sqx_fast/' + actionName
|
|
|
+ // return '/sqx_fast/' + actionName
|
|
|
}
|
|
|
|
|
|
http.adornWss = (actionName) => {
|
|
|
// 非生产环境 && 开启代理, 接口前缀统一使用[/proxyApi/]前缀做代理拦截!
|
|
|
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
|
|
- return 'wss://zpadmin.xianmaxiong.com/wss/' + actionName
|
|
|
+ return 'wss://yizhizan.edccc.cn/wss' + actionName
|
|
|
// return 'https://zpadmin.xianmaxiong.com.com/sqx_fast/' + actionName
|
|
|
}
|
|
|
|