You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.5 KiB
36 lines
1.5 KiB
export default {
|
|
|
|
install(Vue, options) {
|
|
let isProduct = process.env.NODE_ENV == 'production' ? true : false;
|
|
Vue.prototype.Globals = {
|
|
Status: {
|
|
// 充提记录
|
|
Funding: {
|
|
PENDING: 0, // 审核中
|
|
SUCCESS: 1, // 成功
|
|
FAIL: 2, // 失败
|
|
},
|
|
Transfer : {
|
|
SUCCESS : 1,
|
|
FAIL : 2,
|
|
}
|
|
},
|
|
mobileUrl:'https://ser.xtzcoin.info',
|
|
Server: {
|
|
Path: {
|
|
// API: isProduct ? `http://qkladmin2.ruanmeng.top/api/` : `/api/`,
|
|
BASE:isProduct?`https://ser.xtzcoin.info`:`https://ser.xtzcoin.info`,
|
|
API: isProduct ? `https://ser.xtzcoin.info/api/` : `/api/`,
|
|
// WS: isProduct ? `ws://qkladmin2.ruanmeng.top:2346` : `ws://qkladmin2.ruanmeng.top:2346`,
|
|
// WS1: isProduct ? `ws://qkladmin2.ruanmeng.top:2348` : `ws://qkladmin2.ruanmeng.top:2348`,
|
|
// WS: isProduct ? `wss://guanli.coin.amatak.net/ws1` : `wss://guanli.coin.amatak.net/ws1`,
|
|
WS: isProduct ? `wss://ser.xtzcoin.info/ws1` : `wss://ser.xtzcoin.info/ws1`,
|
|
// WS1: isProduct ? `wss://guanli.coin.amatak.net/ws2` : `wss://guanli.coin.amatak.net/ws2`,
|
|
WS1: isProduct ? `wss://ser.xtzcoin.info/ws2` : `wss://ser.xtzcoin.info/ws2`,
|
|
}
|
|
}
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|