From 83f3d2319de4173e94beeeb09bf1a82da2133116 Mon Sep 17 00:00:00 2001 From: li Date: Wed, 11 Feb 2026 16:13:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=BE=99=E8=99=8Erese?= =?UTF-8?q?tDt=E4=BD=99=E9=A2=9D=E5=9B=9E=E6=BB=9A=E5=85=AC=E5=BC=8F?= =?UTF-8?q?=E7=AC=A6=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 龙虎修改开奖结果后,余额计算公式将旧win_total用+号(应为-号), 导致改回正确结果后只扣了抽水而未扣回本金。 与resetBaccarat逻辑对齐:+ $v['win_total'] → - $v['win_total'] --- app/models/process/NumberTab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/process/NumberTab.php b/app/models/process/NumberTab.php index 325bca6..39e1b9e 100644 --- a/app/models/process/NumberTab.php +++ b/app/models/process/NumberTab.php @@ -777,7 +777,7 @@ class NumberTab extends BaseModel // if($v['win_total'] > 0){ // $userMoney = $user['money'] - $v['win_total'] + $winTotal; // }elseif($v['win_total'] < 0){ - $userMoney = $user['money'] + $v['win_total'] + $winTotal; + $userMoney = $user['money'] - $v['win_total'] + $winTotal; // }else{ // $userMoney = $user['money'] + $winTotal; // }