fix: 修复龙虎resetDt余额回滚公式符号错误
龙虎修改开奖结果后,余额计算公式将旧win_total用+号(应为-号), 导致改回正确结果后只扣了抽水而未扣回本金。 与resetBaccarat逻辑对齐:+ $v['win_total'] → - $v['win_total']
This commit is contained in:
parent
ca996c227c
commit
83f3d2319d
@ -777,7 +777,7 @@ class NumberTab extends BaseModel
|
|||||||
// if($v['win_total'] > 0){
|
// if($v['win_total'] > 0){
|
||||||
// $userMoney = $user['money'] - $v['win_total'] + $winTotal;
|
// $userMoney = $user['money'] - $v['win_total'] + $winTotal;
|
||||||
// }elseif($v['win_total'] < 0){
|
// }elseif($v['win_total'] < 0){
|
||||||
$userMoney = $user['money'] + $v['win_total'] + $winTotal;
|
$userMoney = $user['money'] - $v['win_total'] + $winTotal;
|
||||||
// }else{
|
// }else{
|
||||||
// $userMoney = $user['money'] + $winTotal;
|
// $userMoney = $user['money'] + $winTotal;
|
||||||
// }
|
// }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user