2022-08-25 15:07:19 +08:00
|
|
|
/*
|
|
|
|
* @Author: hisense.wuhongjian
|
|
|
|
* @Date: 2022-08-25 14:37:49
|
|
|
|
* @LastEditors: hisense.wuhongjian
|
2022-08-25 15:20:06 +08:00
|
|
|
* @LastEditTime: 2022-08-25 15:19:56
|
2022-08-25 15:07:19 +08:00
|
|
|
* @Description: 告诉大家这是什么
|
|
|
|
*/
|
|
|
|
var _global = {}
|
|
|
|
var CONFIGITEM = {
|
|
|
|
// version: 'qingdao', //青岛
|
|
|
|
// version: 'xihaian', // 西海岸
|
|
|
|
// version: 'test', // 测试
|
|
|
|
// version: 'frp', // 内网穿透
|
|
|
|
version: 'dev', // 开发
|
|
|
|
vNum: 'v0.8.7.1',
|
|
|
|
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]
|