You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
816 B
26 lines
816 B
module.exports = (() => {
|
|
const config = exports = {}
|
|
config.mode = {
|
|
app: '/app', //APP功能模块
|
|
}
|
|
config.tenantId = "000000" // 管理组租户编号
|
|
config.tokenHeader = 'Blade-Auth'
|
|
config.clientId = 'weixin' // 客户端id
|
|
config.clientSecret = 'weixin_secret' // 客户端密钥
|
|
config.Authorization = 'c2FiZXI6c2FiZXJfc2VjcmV0' // 客户端id和客户端密钥联合进行base64转码生成的加密字符串
|
|
config.Timeout = 10000 // 请求超时时间,单位 ms
|
|
// 基础服务器地址
|
|
|
|
// config.BASE_URL = 'http://localhost:8000' // 开发环境
|
|
config.BASE_URL = 'https://qxk.leadfyy.com' // 开发环境
|
|
// config.BASE_URL = '' // 生产环境
|
|
|
|
|
|
if(process.env.NODE_ENV === 'production'){
|
|
config.BASE_URL = ''; // 发行时固定生产环境
|
|
}
|
|
|
|
return {
|
|
...config
|
|
}
|
|
})()
|