Commit 0dcfbcb0 by rongjun

bug

parent 9c548ef4
......@@ -68,7 +68,7 @@ class biboxApi {
this._publicRequest('/v1/bullet/usercenter/loginUser',{protocol:'websocket',encrypt:true},(error,result)=>{
if(error){
console.log("fetch ws token error");
this.subscribeSymbols(symbols,callback);
this.subscribeSymbols(symbols, depth, callback);
}else{
const token = result.data.bulletToken;
const reqURL = `${wsUrl}?bulletToken=${token}&format=json&resource=api`;
......
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