fix: onlineLogin响应补充bet_status字段 - 修复牛牛操作端刷新后牌面丢失
This commit is contained in:
@@ -51,6 +51,7 @@ class SpaceConnectService
|
|||||||
$round['number_tab_number'] = $lastNumberTab['number'];
|
$round['number_tab_number'] = $lastNumberTab['number'];
|
||||||
$round['in_checkout'] = $tableInfo['in_checkout'];
|
$round['in_checkout'] = $tableInfo['in_checkout'];
|
||||||
$round['number_tab_status'] = InitTableService::numberTabStatus($lastNumberTab);
|
$round['number_tab_status'] = InitTableService::numberTabStatus($lastNumberTab);
|
||||||
|
$round['bet_status'] = $lastNumberTab['bet_status'];
|
||||||
$round['show_card'] = GetCardService::getCard($tableInfo,$lastNumberTab);
|
$round['show_card'] = GetCardService::getCard($tableInfo,$lastNumberTab);
|
||||||
$ws->emit('onlineLogin',['status' => true, 'table_id' => $tableInfo['id'], 'round' => $round]);
|
$ws->emit('onlineLogin',['status' => true, 'table_id' => $tableInfo['id'], 'round' => $round]);
|
||||||
SocketSession::saveSocketSession(['table_id' => $tableInfo['id'], 'table_name' => $tableInfo['table_name']],'space');
|
SocketSession::saveSocketSession(['table_id' => $tableInfo['id'], 'table_name' => $tableInfo['table_name']],'space');
|
||||||
|
|||||||
Reference in New Issue
Block a user