From ded5cfed226e80ffc50861219fd786f2af17413b Mon Sep 17 00:00:00 2001 From: guoyue Date: Sun, 2 Oct 2022 14:59:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=B7=B2=E5=8A=9E=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=EF=BC=8C=E8=83=BD=E5=8A=9B=E7=94=B3=E8=AF=B7processDe?= =?UTF-8?q?finitionKey:=20abilityprocess=5Fv2=E5=8F=82=E6=95=B0=EF=BC=8C?= =?UTF-8?q?=E5=B8=82=E5=B1=80v2=20=EF=BC=8C=E5=85=B6=E4=BB=96v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/public/config/basicConfig.js | 4 ++-- back/src/utils/location.js | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/back/public/config/basicConfig.js b/back/public/config/basicConfig.js index e2f5b5f3..37616e9b 100644 --- a/back/public/config/basicConfig.js +++ b/back/public/config/basicConfig.js @@ -7,8 +7,8 @@ */ var _global = {} var CONFIGITEM = { - // version: 'qingdao', // 青岛 - version: 'xihaian', // 西海岸 + version: 'qingdao', // 青岛 + // version: 'xihaian', // 西海岸 // version: 'test', // 测试 // version: 'frp', // 内网穿透 // version: 'dev', // 开发 diff --git a/back/src/utils/location.js b/back/src/utils/location.js index d8914b13..82fc8775 100644 --- a/back/src/utils/location.js +++ b/back/src/utils/location.js @@ -1,13 +1,12 @@ /* - * @Author: hisense.liangjunhua + * @Author: hisense.guoyue * @Date: 2022-08-23 10:30:11 - * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-09-01 16:06:05 - * @Description: 告诉大家这是什么 + * @LastEditors: hisense.guoyue + * @LastEditTime: 2022-10-02 14:47:05 + * @Description: 判断当前环境是西海岸还是青岛市局 */ const returnLocationStr = () => { - // return 'qingdao' - return 'xihaian' + return CONFIGITEM.version } export default returnLocationStr