fix: 百家乐开牌崩溃 - WaybillRemindService闲赢分支变量名错误
result==2(闲赢) show_y<6时设置了$last_banker_lenth 但后续使用$last_player_lenth → Undefined variable → Swoole异常
This commit is contained in:
@@ -530,7 +530,7 @@ class WaybillRemindService{
|
||||
}
|
||||
}elseif($bigRoadLocation[$bigRoad_lenth-1]['result'] == 2){
|
||||
if($bigRoadLocation[$bigRoad_lenth-1]['show_y'] < 6){
|
||||
$last_banker_lenth = $bigRoadLocation[$bigRoad_lenth-1]['show_y'];
|
||||
$last_player_lenth = $bigRoadLocation[$bigRoad_lenth-1]['show_y'];
|
||||
}
|
||||
if($bigRoadLocation[$bigRoad_lenth-1]['show_y'] == 6){
|
||||
for($length=0;$length<99;$length++){
|
||||
|
||||
Reference in New Issue
Block a user