10.10综合交易所原始源码_移动端
1
admin
2026-01-27 f66eee1d038afc05f1a727db256ba5c6818f6fb4
src/config/index.js
@@ -43,12 +43,12 @@
// const ENV_DEV = '127.0.0.1' // dev
// const ENV_DEV = '127.0.0.1:8086' // dev
const ENV_DEV = 'zhapi.datacme.com' // dev
const ENV_DEV = 'api.crypt.mom' // dev
// const ENV_PRO = window.location.hostname // 接口域名跟随 H5
// const ENV_PRO = "127.0.0.1"
// const ENV_PRO = "127.0.0.1:8086"
const ENV_PRO = "zhapi.datacme.com"
const ENV_PRO = "api.crypt.mom"
// 避免打包出错务必把 app域名的注释要放在在本地ENV_PRO的下面
// const ENV_PRO = 'foilwm.com' //  app域名
@@ -56,8 +56,8 @@
let ws_url = ''
let host_url = ''
if (import.meta.env.MODE === 'development') {
   host_url = 'http://' + ENV_DEV
   base_url = 'http://' + ENV_DEV
   host_url = 'https://' + ENV_DEV
   base_url = 'https://' + ENV_DEV
   ws_url = 'wss://' + ENV_DEV + '/api/websocket'
} else {
   host_url = 'https://' + ENV_PRO
@@ -66,7 +66,7 @@
}
export const BASE_URL = base_url
export const WS_URL = ws_url
export const IMG_PATH = host_url
export const IMG_PATH = 'https://img.crypt.mom'
export const HOST_URL = host_url
export default {