|
|
@ -9,7 +9,7 @@ |
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
import Cookies from "js-cookie"; |
|
|
|
import Cookies from "js-cookie"; |
|
|
|
// 请求接口地址 如果没有配置自动获取当前网址路径
|
|
|
|
// 请求接口地址 如果没有配置自动获取当前网址路径
|
|
|
|
const VUE_APP_API_URL = process.env.VUE_APP_BASE_API || `${location.origin}` |
|
|
|
const VUE_APP_API_URL = 'https://b2b2c.njrenzhou.cn' |
|
|
|
const VUE_APP_WS_URL = process.env.VUE_APP_WS_URL || (location.protocol === 'https:' ? 'wss' : 'ws') + ':' + location.hostname |
|
|
|
const VUE_APP_WS_URL = process.env.VUE_APP_WS_URL || (location.protocol === 'https:' ? 'wss' : 'ws') + ':' + location.hostname |
|
|
|
const login_title = Cookies.get('MerInfo') ? JSON.parse(Cookies.get('MerInfo')).login_title : '' |
|
|
|
const login_title = Cookies.get('MerInfo') ? JSON.parse(Cookies.get('MerInfo')).login_title : '' |
|
|
|
const SettingMer = { |
|
|
|
const SettingMer = { |
|
|
|