1
李凌
2026-02-04 23317b2e11aca690e8f1f349edf6f35da7ee65d3
src/config/index.js
@@ -35,19 +35,17 @@
// const ENV_DEV = 'zhapi.coinbtcs.com' // dev
// const ENV_DEV = 'openapi.yanshiz.com' // dev
const ENV_DEV = 'jysapi.wecnsy.com' // dev
// const ENV_DEV = '192.168.10.6:8086' // dev
const ENV_DEV = 'jysapi.wecnsy.sbs' // dev
// const ENV_PRO = 'qheufhj.site' //  app域名
// const ENV_PRO = window.location.hostname // 接口域名跟随 H5zhapi.coinbtcs.com
const ENV_PRO = 'jysapi.wecnsy.com' // 接口域名跟随 H5zhapi.coinbtcs.com
// const ENV_PRO = '192.168.10.6:8086' // 接口域名跟随 H5zhapi.coinbtcs.com
const ENV_PRO = 'jysapi.wecnsy.sbs' // 接口域名跟随 H5zhapi.coinbtcs.com
let base_url = ''
let ws_url = ''
let host_url = ''
if (import.meta.env.MODE === 'development') {
    host_url = 'https://' + ENV_DEV
    host_url = 'https//' + ENV_DEV
    base_url = 'https://' + ENV_DEV
    ws_url = 'wss://' + ENV_DEV + '/api/websocket'
} else {
@@ -56,7 +54,7 @@
    ws_url = 'wss://' + ENV_PRO + '/api/websocket'
}
let imgUrl = 'https://jysimg.wecnsy.com' // 暂时的 单独的图片地址
let imgUrl = 'https://jysimg.wecnsy.sbs' // 暂时的 单独的图片地址
export const BASE_URL = base_url
export const WS_URL = ws_url