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