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