Commit 8200086c by ken

试试看

parent 5441e982
...@@ -50,6 +50,7 @@ const _handleSocketOpen = function(opened_callback) { ...@@ -50,6 +50,7 @@ const _handleSocketOpen = function(opened_callback) {
for (const symbol of observerSymbol) { for (const symbol of observerSymbol) {
// const req = {event: 'addChannel', channel: symbol + '_depth'}; // const req = {event: 'addChannel', channel: symbol + '_depth'};
const req = {event: 'addChannel', channel: 'dish_depth_00001_' + symbol + "default"}; const req = {event: 'addChannel', channel: 'dish_depth_00001_' + symbol + "default"};
console.log(JSON.stringify(req));
this.send(JSON.stringify(req)); this.send(JSON.stringify(req));
} }
const accountReq = { const accountReq = {
......
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