2022年5月29日 从svn移到git

This commit is contained in:
daihh
2022-05-29 18:59:24 +08:00
parent 9580ff8c9b
commit faa7afb65f
897 changed files with 171836 additions and 0 deletions

32
config/index.js Normal file
View File

@@ -0,0 +1,32 @@
/**系统的一些全局配置变量*/
let apiBaseUrl = '';
let oldApiBaseUrl ='/uboeApi';
let loginPath='/pages/login/login';
let context='/mbile';
let tokenName='';
let appId=''
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{
// 生产环境
apiBaseUrl = '/systemapi';
oldApiBaseUrl = '/uboeApi';
fileUrl = 'https://u-pre.boe.com/file/upload';
loginPath='https://u-pre.boe.com/m';
}
export default {
apiBaseUrl:apiBaseUrl,
oldApiBaseUrl:oldApiBaseUrl,
context:context,
appId:appId,
loginPath:loginPath,
fileUrl:fileUrl,
version:version,
}