web打包问题
This commit is contained in:
60
urbanLifelineWeb/packages/bidding/public/app-config.local.js
Normal file
60
urbanLifelineWeb/packages/bidding/public/app-config.local.js
Normal file
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* @description 本地开发环境配置文件
|
||||
* 用于 dev 和 preview 模式
|
||||
*/
|
||||
|
||||
window.APP_RUNTIME_CONFIG = {
|
||||
// 环境标识
|
||||
env: 'production',
|
||||
|
||||
// API 配置
|
||||
api: {
|
||||
baseUrl: 'https://org.xyzh.yslg/api',
|
||||
timeout: 30000
|
||||
},
|
||||
|
||||
// 应用基础路径
|
||||
baseUrl: '/bidding/',
|
||||
|
||||
// 文件配置
|
||||
file: {
|
||||
downloadUrl: 'https://org.xyzh.yslg/api/urban-lifeline/file/download/',
|
||||
uploadUrl: 'https://org.xyzh.yslg/api/urban-lifeline/file/upload',
|
||||
maxSize: {
|
||||
image: 5,
|
||||
video: 100,
|
||||
document: 10
|
||||
},
|
||||
acceptTypes: {
|
||||
image: 'image/*',
|
||||
video: 'video/*',
|
||||
document: '.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx'
|
||||
}
|
||||
},
|
||||
|
||||
// Token 配置
|
||||
token: {
|
||||
key: 'token',
|
||||
refreshThreshold: 300000
|
||||
},
|
||||
|
||||
// 公共资源路径
|
||||
publicImgPath: '/bidding/img',
|
||||
publicWebPath: '/bidding',
|
||||
|
||||
// 单点登录配置
|
||||
sso: {
|
||||
platformUrl: 'https://org.xyzh.yslg/platform/',
|
||||
workcaseUrl: 'https://org.xyzh.yslg/workcase/',
|
||||
biddingUrl: 'https://org.xyzh.yslg/bidding/'
|
||||
},
|
||||
|
||||
// AES 加密密钥(本地开发用,生产环境需要替换)
|
||||
aesSecretKey: 'MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI=',
|
||||
|
||||
// 功能开关
|
||||
features: {
|
||||
enableDebug: true,
|
||||
enableMockData: false
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user