Commit 6384b55c by ken

balance

parent 9be37a87
...@@ -28,7 +28,9 @@ const _handleSocketOpen = function(opened_callback) { ...@@ -28,7 +28,9 @@ const _handleSocketOpen = function(opened_callback) {
} }
const accountReq = {accesskey: APIKEY,channel: accountInfoChannel,event: "addChannel", sign: "a5f785d4627ae21f4b4baf9c1baf1a60"}; const accountReq = {accesskey: APIKEY,channel: accountInfoChannel,event: "addChannel", sign: "a5f785d4627ae21f4b4baf9c1baf1a60"};
console.log(JSON.stringify(accountReq)); console.log(JSON.stringify(accountReq));
setInterval(() => {
this.send(JSON.stringify(accountReq)); this.send(JSON.stringify(accountReq));
}, 2000);
}; };
const _handleSocketClose = function(code, reason) { const _handleSocketClose = function(code, reason) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment