fix: 修复龙虎改单双重扣水导致不返本返利
price_dragon/price_tiger赔率已含抽水,改单时无需再扣agent_commission_dt
This commit is contained in:
parent
626b428db1
commit
4a0f6b29bf
@ -337,7 +337,7 @@ class Waybill extends Common
|
|||||||
// 龙赢
|
// 龙赢
|
||||||
if ($opening == 1) {
|
if ($opening == 1) {
|
||||||
if($v['banker_amount'] > 0){
|
if($v['banker_amount'] > 0){
|
||||||
$win_money = round($v['banker_amount'] * (1 + $user_info['price_dragon'] - $agent_commission),2) + $win_money;
|
$win_money = round($v['banker_amount'] * (1 + $user_info['price_dragon']),2) + $win_money;
|
||||||
}
|
}
|
||||||
// 单边洗码
|
// 单边洗码
|
||||||
if($user_info['type_xima'] == 2){
|
if($user_info['type_xima'] == 2){
|
||||||
@ -347,7 +347,7 @@ class Waybill extends Common
|
|||||||
// 虎赢
|
// 虎赢
|
||||||
if ($opening == 2) {
|
if ($opening == 2) {
|
||||||
if($v['player_amount'] > 0){
|
if($v['player_amount'] > 0){
|
||||||
$win_money = round($v['player_amount'] * (1 + $user_info['price_tiger'] - $agent_commission),2) + $win_money;
|
$win_money = round($v['player_amount'] * (1 + $user_info['price_tiger']),2) + $win_money;
|
||||||
}
|
}
|
||||||
// 单边洗码
|
// 单边洗码
|
||||||
if($user_info['type_xima'] == 2){
|
if($user_info['type_xima'] == 2){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user