Browse Source

配置线上请求

master
vee 4 years ago
parent
commit
1b7d3b8f02
  1. 8
      utils/SystemConfiguration.js

8
utils/SystemConfiguration.js

@ -1,4 +1,4 @@
let isTest = true;
let isTest = false;
const constant = isTest ? {
//服务端连接
@ -6,14 +6,16 @@ const constant = isTest ? {
coinTickerWs:'ws://wallet-quartz.weirui0755.com/websocket',
ethNode:'http://47.245.25.82:8545',
ethChainId:1,
btcNetwork:'',
ethTransctionDetail:'https://cn.etherscan.com/tx/',
trxTransctionDetail:'https://tronscan.io/#/transaction/'
} : {
//服务端连接
serverUrl: 'http://wallet-api.weirui0755.com',
coinTickerWs:'ws://wallet-quartz.weirui0755.com/websocket',
serverUrl: 'https://api.bitcooo.com/',
coinTickerWs:'wss://quartz.bitcooo.com/websocket',
ethNode:'http://47.245.25.82:8545',
ethChainId:3,
btcNetwork:'',
ethTransctionDetail:'https://cn.etherscan.com/tx/',
trxTransctionDetail:'https://tronscan.io/#/transaction/'
}

Loading…
Cancel
Save