| | |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" |
| | | content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> |
| | | <title></title> |
| | | <title>ACAPL Pro</title> |
| | | <link rel="shortcut icon" href=./favicon.ico type=image/x-icon> |
| | | <link href="static/css/public1.css" rel="stylesheet"> |
| | | <link href="//at.alicdn.com/t/c/font_4480663_5e9rjcl352x.css" rel="stylesheet"> |
| | |
| | | // 本地 |
| | | baseURL: |
| | | // process.env.NODE_ENV == "development" ? "http://192.168.10.5:8091/" : "https://api.kuspitai.com/", |
| | | process.env.NODE_ENV == "development" ? "https://ciapi.yanshiz.com/" : "https://ciapi.yanshiz.com/", |
| | | process.env.NODE_ENV == "development" ? "https://api.acapl.net/" : "https://api.acapl.net/", |
| | | util: { |
| | | image: "/util/image.html" // 图片上传 |
| | | } |
| | |
| | | initWebSocket() { |
| | | console.log("initWebSocket"); |
| | | this.Trade = new WhrWebSocket({ |
| | | path: `wss://ws.kuspitai.com/websocket-server `, |
| | | path: `wss://ws.acapl.net/websocket-server `, |
| | | onmessage: this.getTradeMessage |
| | | }); |
| | | |
| | |
| | | initWebSocket() { |
| | | console.log("initWebSocket"); |
| | | this.Trade = new WhrWebSocket({ |
| | | path: `wss://ws.kuspitai.com/websocket-server `, |
| | | path: `wss://ws.acapl.net/websocket-server`, |
| | | onmessage: this.getTradeMessage, |
| | | }); |
| | | |