From e01cee0f0c5c5c2eb2d8595eadb3c7a9df2a37fc Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 21 Jan 2026 16:37:01 +0800
Subject: [PATCH] 1

---
 src/config/index.js |   32 +++++++++++++++++++++++++-------
 1 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/src/config/index.js b/src/config/index.js
index aca2de8..38fa3a6 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -34,27 +34,29 @@
 export const defaultSeconds = 1 * 24 * 60 * 60 * 1000
 
 // const ENV_DEV = 'zhapi.coinbtcs.com' // dev
-const ENV_DEV = 'openapi.yanshiz.com' // dev
-// const ENV_DEV = '192.168.10.13:8086' // 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_PRO = 'qheufhj.site' //  app域名
 // const ENV_PRO = window.location.hostname // 接口域名跟随 H5zhapi.coinbtcs.com
-const ENV_PRO = 'openapi.yanshiz.com' // 接口域名跟随 H5zhapi.coinbtcs.com
+const ENV_PRO = 'jysapi.wecnsy.com' // 接口域名跟随 H5zhapi.coinbtcs.com
+// const ENV_PRO = '192.168.10.6:8086' // 接口域名跟随 H5zhapi.coinbtcs.com
 
 let base_url = ''
 let ws_url = ''
 let host_url = ''
 if (import.meta.env.MODE === 'development') {
-    host_url = 'http://' + ENV_DEV
-    base_url = 'http://' + ENV_DEV
-    ws_url = 'ws://' + ENV_DEV + '/api/websocket'
+    host_url = 'https://' + ENV_DEV
+    base_url = 'https://' + ENV_DEV
+    ws_url = 'wss://' + ENV_DEV + '/api/websocket'
 } else {
     host_url = 'https://' + ENV_PRO
     base_url = 'https://' + ENV_PRO
     ws_url = 'wss://' + ENV_PRO + '/api/websocket'
 }
 
-let imgUrl = 'https://okxh5.yanshiz.com' // 暂时的 单独的图片地址
+let imgUrl = 'https://jysimg.wecnsy.com' // 暂时的 单独的图片地址
 
 export const BASE_URL = base_url
 export const WS_URL = ws_url
@@ -66,6 +68,22 @@
 // 公司logo
 export const LOGO = new URL('@/assets/imgs/logo.png', import.meta.url)
 
+
+export const customerServiceUrl = ()=>{
+    // let str = 'https://chat.onlinesupport.help/chat_online/index?channelId=5c7314eab72c4a72b2dc9b63c4502e69'
+    // let user = JSON.parse(localStorage.getItem('user'))
+    // console.log(user);
+    // let userName = '',pid = '';
+    // if(user && user.userInfo){
+    //     userName = user.userInfo.username
+    //     pid = user.userInfo.usercode
+    // }
+    // str += `&userName=${userName}&pid=${pid}`
+    // return str
+
+    return null
+} // 客服外链链接
+
 export default {
     sliderOptions: {
         dotSize: 14,

--
Gitblit v1.9.3