Skip to content

Commit

Permalink
getSubscribes private channel
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Jul 21, 2021
1 parent 6e0f550 commit 7f2ac65
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Api/WebSocket/SocketClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ protected function getData($global,$callback=null,$sub=[]){
if(empty($this->keysecret) || $this->keysecret['key']!=$k) continue;

foreach ($v as $vv){
//echo $vv.PHP_EOL;

//判断是否有单独订阅的币对
if(stripos($vv,':') !== 0) {
$t=explode(':',$vv);
$vv=$t[0];
}

$data=$global->getQueue(strtolower($vv));
$temp[strtolower($vv)]=$data;
}
Expand Down

0 comments on commit 7f2ac65

Please sign in to comment.