Ver código fonte

fix(config): 修正开发环境服务器地址及默认接入ID

- 将开发环境服务器地址切换回原始IP
- 注释掉其他开发环境地址以避免混淆
- 修改默认接入ID为'ch_003'以匹配最新需求
- 保持获取主题色逻辑正常运行
zhangtao 1 semana atrás
pai
commit
fb4267b0d2
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      src/config/index.ts
  2. 1 1
      src/store/sys.ts

+ 2 - 2
src/config/index.ts

@@ -45,9 +45,9 @@ function handleEnvVersion() {
   // #ifdef H5
   const mode = import.meta.env.MODE
   const h5Server = {
-    // development: 'http://47.109.84.152:8081',
+    development: 'http://47.109.84.152:8081',
     // development: 'http://192.168.0.157:8080',
-    development: 'http://192.168.0.11:8081',
+    // development: 'http://192.168.0.11:8081',
     // development: 'http://192.168.1.21:8080',
     // development: 'https://smqjh.api.zswlgz.com',
     // production: 'https://smqjh.api.zswlgz.com',

+ 1 - 1
src/store/sys.ts

@@ -119,7 +119,7 @@ export const useSysStore = defineStore('system', {
     async getThirdPartyThemeColor() {
       if (this.tenantCode)
         return
-      const accessId = this.getAccessIdFromPath() || 'ch_002'
+      const accessId = this.getAccessIdFromPath() || 'ch_003'
       try {
         const res = await Apis.sys.appAccess({ pathParams: { accessId } })
         this.thirdPartyName = res.data.accessName