修改配置文件

This commit is contained in:
daihh
2022-06-15 14:59:19 +08:00
parent 22f86baa3b
commit 5ff6ec8fa1

View File

@@ -9,28 +9,29 @@ let fileUrl='';
let version=1;
if(process.env.NODE_ENV === 'development'){
//本地开发环境
apiBaseUrl = '/systemapi';
oldApiBaseUrl = '/uboeApi';
fileUrl = 'http://localhost:9090/cdn/upload';
loginPath='/pages/login/login';
}else if(process.env.NODE_ENV === 'preview'){
// 生产环境
// 预发布环境,当前配置未使用上
apiBaseUrl = '/systemapi';
oldApiBaseUrl = '/uboeApi';
fileUrl = 'https://u-pre.boe.com/file/upload';
fileUrl = 'https://u-pre.boe.com/upload';
loginPath='https://u-pre.boe.com/m/preview';
}else if(process.env.NODE_ENV === 'testing'){
// 生产环境
// 测试环境
apiBaseUrl = '/systemapi';
oldApiBaseUrl = '/uboeApi';
fileUrl = 'https://u-pre.boe.com/file/upload';
fileUrl = 'https://u-pre.boe.com/upload';
loginPath='https://u-pre.boe.com/m/testing';
}else{
// 生产环境
apiBaseUrl = '/systemapi';
oldApiBaseUrl = '/uboeApi';
fileUrl = 'https://u.boe.com/file/upload';
loginPath='https://u.boe.com/m/production';
fileUrl = 'https://u.boe.com/upload';
loginPath='https://u.boe.com/m/loginuser';
}
export default {