From c3621121ca12699b0be33ad4075f04a5780b79e1 Mon Sep 17 00:00:00 2001 From: li Date: Thu, 28 May 2026 18:04:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=BE=99=E8=99=8E=E6=B4=97=E7=A0=81?= =?UTF-8?q?=E9=87=8F=E6=94=B9=E4=B8=BA=E6=89=80=E6=9C=89=E8=BE=93=E5=8F=A3?= =?UTF-8?q?=E4=B9=8B=E5=92=8C=EF=BC=8C=E5=92=8C=E5=B1=80=E9=80=9A=E6=9D=80?= =?UTF-8?q?=E9=BE=99=E8=99=8E=E8=AE=A1=E5=85=A5=E6=B4=97=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/opening/OpeningDtService.php | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/app/services/opening/OpeningDtService.php b/app/services/opening/OpeningDtService.php index 6c8dc18..9f41ad3 100644 --- a/app/services/opening/OpeningDtService.php +++ b/app/services/opening/OpeningDtService.php @@ -131,39 +131,29 @@ class OpeningDtService } $amount = $v['banker_amount'] + $v['player_amount'] + $v['tie_amount']; $winMoney = 0; - // 双边洗码 $ximaliang = 0; - if($userInfo['type_xima'] == 1){ - $ximaliang = abs($v['banker_amount'] - $v['player_amount']); - } // 龙赢 if ($numberTabInfo['result'] == 1) { if($v['banker_amount'] > 0){ $winMoney = round($v['banker_amount'] * (1 + $userInfo['price_dragon']),2) + $winMoney; } - // 单边洗码 - if($userInfo['type_xima'] == 2){ - $ximaliang = $v['player_amount']; - } + $ximaliang = $v['player_amount'] + $v['tie_amount']; } // 虎赢 if ($numberTabInfo['result'] == 2) { if($v['player_amount'] > 0){ $winMoney = round($v['player_amount'] * (1 + $userInfo['price_tiger']),2) + $winMoney; } - // 单边洗码 - if($userInfo['type_xima'] == 2){ - $ximaliang = $v['banker_amount']; - } + $ximaliang = $v['banker_amount'] + $v['tie_amount']; } - // 和 + // 和:通杀龙虎 if ($numberTabInfo['result'] == 3) { if (Env::get('system.dt_half') == 1) { $winMoney = round(($v['banker_amount'] + $v['player_amount']) / 2, 2) + $winMoney; + $ximaliang = round(($v['banker_amount'] + $v['player_amount']) / 2, 2); } else { $winMoney = $v['banker_amount'] + $v['player_amount'] + $winMoney; } - $ximaliang = 0; if ($v['tie_amount'] > 0) { $winMoney = $v['tie_amount'] * (1 + $userInfo['price_tie_dt']) + $winMoney; }