代码提交-3-13
This commit is contained in:
33
config.js
33
config.js
@@ -1,9 +1,22 @@
|
||||
// 应用全局配置
|
||||
module.exports = {
|
||||
// baseUrl: 'http://172.16.129.101:8080/dev-api/',
|
||||
baseUrl: 'https://pasd.gxsdxy.cn/prod-api/',
|
||||
// baseUrl: 'https://pasd.gxsdxy.cn/prod-api/',
|
||||
// baseUrl: 'http://172.16.129.101:8080',//172.16.129.101
|
||||
// baseUrl: 'https://192.168.211.59:8080/',
|
||||
// baseUrl: 'http://localhost:8080',
|
||||
// 生产环境:通过 Nginx /prod-api 代理到后端
|
||||
baseUrl: 'https://pasd.gxsdxy.cn/prod-api',
|
||||
// 是否启用 CAS 登录(与系统账号登录并存,H5 自动跳转)
|
||||
// 发布 CAS 端:开启
|
||||
casEnable: true,
|
||||
// CAS 服务端登录地址(示例为统一认证平台登录地址)
|
||||
casServer: 'https://rsso.gxsdxy.cn/login',
|
||||
// PC 端
|
||||
casService: 'https://pasd.gxsdxy.cn/cas',
|
||||
|
||||
// 移动端(关键) - 现在统一使用相同的回调地址,由后端处理设备检测
|
||||
casServiceMobile: 'https://pasd.gxsdxy.cn/cas',
|
||||
|
||||
// 应用信息
|
||||
appInfo: {
|
||||
// 应用名称
|
||||
@@ -16,13 +29,13 @@ module.exports = {
|
||||
site_url: "http://pasd.gxsdxy.cn",
|
||||
// 政策协议
|
||||
agreements: [{
|
||||
title: "隐私政策",
|
||||
url: "http://pasd.gxsdxy.cn/protocol.html"
|
||||
},
|
||||
{
|
||||
title: "用户服务协议",
|
||||
url: "http://pasd.gxsdxy.cn/protocol.html"
|
||||
}
|
||||
title: "隐私政策",
|
||||
url: "http://pasd.gxsdxy.cn/protocol.html"
|
||||
},
|
||||
{
|
||||
title: "用户服务协议",
|
||||
url: "http://pasd.gxsdxy.cn/protocol.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user