| | |
| | | // const ENV = process.env.NODE_ENV |
| | | export default { |
| | | // DOMAIN: "https://api.amcfcxn.org/", |
| | | DOMAIN: "https://api.stcarlyle.com/", |
| | | DOMAIN: "https://rgapi.shengliankeji.top/", |
| | | // DOMAIN: "https://api.coinbtcs.com/", |
| | | // baseURL: ENV == 'development'?'https://api.guosen.org/':'https://api.guosen.org/', |
| | | // baseURL: 'http://localhost:8070', |
| | |
| | | // 0311 |
| | | // baseURL: "https://api.durocaspitall.com/", |
| | | // 本地 |
| | | baseURL: "https://api.stcarlyle.com/", |
| | | baseURL: "https://rgapi.shengliankeji.top/", |
| | | // baseURL: "http://192.168.10.6:8092/", |
| | | util: { |
| | | image: "/util/image.html" // 图片上传 |
| | |
| | | initWebSocket() { |
| | | console.log("initWebSocket"); |
| | | this.Trade = new WhrWebSocket({ |
| | | path: `wss://ws.stcarlyle.com/websocket-server `, |
| | | path: `wss://rbws.shengliankeji.top/websocket-server `, |
| | | onmessage: this.getTradeMessage, |
| | | }); |
| | | |