2022-08-25 15:07:19 +08:00
|
|
|
/*
|
|
|
|
* @Author: hisense.wuhongjian
|
|
|
|
* @Date: 2022-08-25 14:37:49
|
|
|
|
* @LastEditors: hisense.wuhongjian
|
2022-08-29 09:58:43 +08:00
|
|
|
* @LastEditTime: 2022-08-29 09:57:52
|
2022-08-25 15:07:19 +08:00
|
|
|
* @Description: 告诉大家这是什么
|
|
|
|
*/
|
|
|
|
var _global = {}
|
|
|
|
var CONFIGITEM = {
|
2022-08-29 09:58:43 +08:00
|
|
|
// version: 'qingdao', // 青岛
|
2022-08-25 15:07:19 +08:00
|
|
|
// version: 'xihaian', // 西海岸
|
2022-08-29 09:58:43 +08:00
|
|
|
version: 'test', // 测试
|
2022-08-27 14:25:03 +08:00
|
|
|
// version: 'frp', // 内网穿透
|
2022-08-26 09:27:34 +08:00
|
|
|
// version: 'dev', // 开发
|
2022-08-27 14:26:03 +08:00
|
|
|
vNum: 'v0.8.7.2',
|
2022-08-25 15:07:19 +08:00
|
|
|
configData: {
|
|
|
|
// 青岛市大数据局
|
|
|
|
qingdao: {
|
|
|
|
previewUrl: 'http://15.72.183.90:7008/',
|
|
|
|
apiURL: 'http://15.72.183.90:8000/renren-admin',
|
|
|
|
websocketURL: 'ws://15.72.183.90:8000/renren-admin/websocket'
|
|
|
|
},
|
|
|
|
// 西海岸大数据局
|
|
|
|
xihaian: {
|
|
|
|
previewUrl: 'http://10.134.135.9:9796/',
|
|
|
|
apiURL: 'http://10.134.135.9:8888/renren-admin',
|
|
|
|
websocketURL: 'ws://10.134.135.9:8888/renren-admin/websocket'
|
|
|
|
},
|
|
|
|
// 测试
|
|
|
|
test: {
|
|
|
|
previewUrl: 'http://192.168.124.243:9796/',
|
|
|
|
apiURL: 'http://192.168.124.243:8888/renren-admin',
|
|
|
|
websocketURL: 'ws://192.168.124.243:8888/renren-admin/websocket'
|
|
|
|
},
|
|
|
|
// 内网穿透
|
2022-08-25 15:20:06 +08:00
|
|
|
frp: {
|
2022-08-25 15:07:19 +08:00
|
|
|
previewUrl: 'http://124.222.94.39:9796/',
|
|
|
|
apiURL: 'http://124.222.94.39:8888/renren-admin',
|
|
|
|
websocketURL: 'ws://124.222.94.39:8888/renren-admin/websocket'
|
|
|
|
},
|
|
|
|
dev: {
|
|
|
|
previewUrl: 'http://localhost:8080/',
|
|
|
|
apiURL: 'http://192.168.124.236:8888/renren-admin',
|
|
|
|
websocketURL: 'ws://192.168.124.236:8888/renren-admin/websocket'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_global.config = CONFIGITEM.configData[CONFIGITEM.version]
|