hi-ucs/front/public/static/config/basicConfig.js

127 lines
4.2 KiB
Vue
Raw Normal View History

2022-06-14 09:32:49 +08:00
/*
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
* @LastEditors: Light
* @LastEditTime: 2022-10-27 10:52:39
2022-06-14 09:32:49 +08:00
* @Description: 系统静态参数配置
*/
var _global = {}
var CONFIGITEM = {
2022-08-29 09:58:43 +08:00
//version: 'qingdao', //青岛
2022-08-25 19:06:53 +08:00
//version: 'xihaian', // 西海岸
2022-08-25 15:07:19 +08:00
//version: 'dev', // 开发
2022-08-29 09:58:43 +08:00
version: 'test', // 测试
2022-08-25 15:07:19 +08:00
//version: 'frp', // 内网穿透
2022-10-24 14:26:22 +08:00
vNum: 'v0.8.14.2',
2022-06-14 09:32:49 +08:00
configData: {
2022-08-25 15:07:19 +08:00
// 青岛市大数据局
2022-06-14 09:32:49 +08:00
qingdao: {
loginInfo: {
// 视频平台登陆信息
loginIp: '10.132.191.3',
2022-08-25 15:07:19 +08:00
loginPort: '8320',
2022-06-14 09:32:49 +08:00
userName: 'ynszdz',
userPwd: 'Admin@123',
},
2022-08-25 15:07:19 +08:00
backUrl: 'http://15.72.183.90:8001',
previewUrl: 'http://15.72.183.90:7008/',
//frontUrl: 'http://15.72.183.90:7008/document/#/devModelFile/',
2022-10-31 14:08:04 +08:00
apiURL: 'http://15.72.183.90:8000/ucs-admin',
websocketURL: '15.72.183.90:8000/ucs-admin',
// websocketURL: '192.168.124.233:8888/ucs-admin',
2022-08-25 15:07:19 +08:00
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
2022-09-19 19:19:13 +08:00
// 研发展厅
zhanTingDev: {
loginInfo: {
// 视频平台登陆信息
loginIp: '10.132.191.3',
loginPort: '8320',
userName: 'ynszdz',
userPwd: 'Admin@123',
},
backUrl: 'http://15.72.183.90:8001',
previewUrl: 'http://15.72.183.90:7008/',
//frontUrl: 'http://15.72.183.90:7008/document/#/devModelFile/',
2022-10-31 14:08:04 +08:00
//apiURL: 'http://15.72.183.90:8000/ucs-admin',
// websocketURL: '10.16.5.146:8888/ucs-admin', // 姜永超
websocketURL: '10.18.1.99:8889/ucs-admin',
// websocketURL: '10.16.5.35:8888/ucs-admin',
2022-09-19 19:19:13 +08:00
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
2022-08-25 15:07:19 +08:00
},
// 西海岸大数据局
xihaian: {
loginInfo: {
// 视频平台登陆信息
loginIp: '',
loginPort: '',
userName: '',
userPwd: '',
},
// 获取摄像头的后端接口地址
camreaInfo: {
// cameraUrl: '10.134.135.92:9537', // 西海岸-测试环境
// cameraUrl: '10.134.135.9:9537', // 西海岸-生产环境
cameraUrl: '192.168.124.236:9537', // 远雄不挂vpn可直接连
},
2022-08-25 15:07:19 +08:00
backUrl: 'http://10.134.135.9:9797',
previewUrl: 'http://10.134.135.9:9796/',
2022-10-31 14:08:04 +08:00
// websocketURL: '10.134.135.9:8888/ucs-admin', // 正式环境
// websocketURL: '10.134.135.92:8888/ucs-admin', // 测试环境
websocketURL: '192.168.124.254:8888/ucs-admin', // 李志成-远雄
// websocketURL: '10.18.1.99:8889/ucs-admin', // 研发
2022-08-25 15:07:19 +08:00
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
// 开发
dev: {
loginInfo: {
// 视频平台登陆信息
loginIp: '',
loginPort: '',
userName: '',
userPwd: '',
},
backUrl: 'http://localhost:8001',
2022-10-22 11:08:52 +08:00
previewUrl: 'http://192.168.124.243:9796/',
2022-10-31 14:08:04 +08:00
websocketURL: '192.168.124.243:8888/ucs-admin',
// websocketURL: '10.18.1.99:8889/ucs-admin',
2022-08-25 15:07:19 +08:00
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
// 测试
test: {
loginInfo: {
// 视频平台登陆信息
loginIp: '',
loginPort: '',
userName: '',
userPwd: '',
},
backUrl: 'http://192.168.124.243:9797',
previewUrl: 'http://192.168.124.243:9796/',
2022-10-31 14:08:04 +08:00
websocketURL: '192.168.124.243:8888/ucs-admin',
2022-08-25 15:07:19 +08:00
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
// 内网穿透
2022-08-25 15:20:06 +08:00
frp: {
2022-08-25 15:07:19 +08:00
loginInfo: {
// 视频平台登陆信息
loginIp: '',
loginPort: '',
userName: '',
userPwd: '',
},
backUrl: 'http://124.222.94.39:9797',
previewUrl: 'http://124.222.94.39:9796/',
2022-10-31 14:08:04 +08:00
websocketURL: '124.222.94.39:8888/ucs-admin',
2022-08-25 15:07:19 +08:00
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
2022-06-14 09:32:49 +08:00
},
2022-08-25 15:07:19 +08:00
},
2022-06-14 09:32:49 +08:00
}
_global.config = CONFIGITEM.configData[CONFIGITEM.version]