From 46dd7f6a1f7be0b18e77f5ddc2c9f908a356e176 Mon Sep 17 00:00:00 2001 From: li Date: Sun, 29 Mar 2026 18:13:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=99=BE=E5=AE=B6=E4=B9=90=E5=BC=80?= =?UTF-8?q?=E7=89=8C=E5=B4=A9=E6=BA=83=20-=20WaybillRemindService=E9=97=B2?= =?UTF-8?q?=E8=B5=A2=E5=88=86=E6=94=AF=E5=8F=98=E9=87=8F=E5=90=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit result==2(闲赢) show_y<6时设置了$last_banker_lenth 但后续使用$last_player_lenth → Undefined variable → Swoole异常 --- app/services/waybill/WaybillRemindService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/waybill/WaybillRemindService.php b/app/services/waybill/WaybillRemindService.php index 5027a4e..be5a4a7 100644 --- a/app/services/waybill/WaybillRemindService.php +++ b/app/services/waybill/WaybillRemindService.php @@ -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++){