From 631dc512b226b346fefaebbedf1ddd79c06cab71 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Thu, 09 Oct 2025 11:06:15 +0800
Subject: [PATCH] 二三给的

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

diff --git a/src/config/index.js b/src/config/index.js
index aca2de8..550e473 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 = 'syjysapi.yanshiz.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 = 'syjysapi.yanshiz.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://syimg.yanshiz.com' // 暂时的 单独的图片地址
 
 export const BASE_URL = base_url
 export const WS_URL = ws_url
@@ -63,6 +65,20 @@
 // export const HOST_URL = host_url
 export const HOST_URL = imgUrl
 
+// 多语言选项
+export const lang = [ 
+  { title: '繁体中文', key: 'CN', image: new URL('@/assets/image/lang/taiwan.png', import.meta.url) },
+  { title: '简体中文', key: 'zh-CN', image: new URL('@/assets/image/lang/zh-CN.png', import.meta.url) },
+  { title: 'English', key: 'en', image: new URL('@/assets/image/lang/en-US.png', import.meta.url) },
+  { title: '한국인', key: 'Korean', image: new URL('@/assets/image/lang/Korean.png', import.meta.url) },
+  { title: 'やまと', key: 'Japanese', image: new URL('@/assets/image/lang/Japanese.png', import.meta.url) },
+  { title: 'Deutsch', key: 'de', image: new URL('@/assets/image/lang/de.png', import.meta.url) }, //德语
+  { title: 'Français', key: 'fr', image: new URL('@/assets/image/lang/French.png', import.meta.url) }, //法语
+  { title: 'Tiếng Việt', key: 'vi', image: new URL('@/assets/image/lang/vi.png', import.meta.url) },//越南语
+  { title: 'Italiano', key: 'Italy', image: new URL('@/assets/image/lang/Italy.png', import.meta.url) }, //意大利语
+  { title: 'ไทย', key: 'th', image: new URL('@/assets/image/lang/Thai.png', import.meta.url) }, //泰语
+]
+
 // 公司logo
 export const LOGO = new URL('@/assets/imgs/logo.png', import.meta.url)
 

--
Gitblit v1.9.3