diff --git a/.env.development b/.env.development index 4750d846..016313d0 100644 --- a/.env.development +++ b/.env.development @@ -13,7 +13,7 @@ VITE_APP_ENV = 'AND' # VITE_APP_BASE_API_Url = 'http://25.18.122.78:9786' # DEV -VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003' # app入口 diff --git a/src/common/common.js b/src/common/common.js index 8e341746..dbb3beb3 100644 --- a/src/common/common.js +++ b/src/common/common.js @@ -123,6 +123,7 @@ export const getUserInfo = (key = '') => { */ export const getPhoneEnvBool = (flag) => { // 获取当前设备的平台信息 + const { platform } = uni.getSystemInfoSync(); // 平台与标识的映射关系