Commit 0dcfbcb0 by rongjun

bug

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