|
@@ -470,12 +470,13 @@ class HttpServerOnlySet
|
|
|
|
|
|
|
|
$chuanNum = intval(substr($simplexData->str_type, 0, 1));
|
|
$chuanNum = intval(substr($simplexData->str_type, 0, 1));
|
|
|
$lasPeilv = $settlementBase->stringComputing([$in_array, $chuanNum]);
|
|
$lasPeilv = $settlementBase->stringComputing([$in_array, $chuanNum]);
|
|
|
- $money = floatPointDigit($simplexData->money * $lasPeilv);
|
|
|
|
|
|
|
+ $money_s = floatPointDigit($simplexData->money * $lasPeilv);
|
|
|
} else {
|
|
} else {
|
|
|
- $money = $simplexData->money;
|
|
|
|
|
|
|
+ $money_s = $simplexData->money;
|
|
|
}
|
|
}
|
|
|
|
|
+ $money = floatPointDigit($money_s - $simplexData->money * $this->fanshui);
|
|
|
|
|
|
|
|
- $money = floatPointDigit($money - $simplexData->money * $this->fanshui);
|
|
|
|
|
|
|
+ print_r(['debug', $money_s, $money, $this->fanshui, $simplexData]);
|
|
|
|
|
|
|
|
$this->PushSqlToArray(" update money_buy_str set settle_status=2 , game_status=1 , settlement_time='$newTime' , gain_money=$money where order_id = '$order_id'");
|
|
$this->PushSqlToArray(" update money_buy_str set settle_status=2 , game_status=1 , settlement_time='$newTime' , gain_money=$money where order_id = '$order_id'");
|
|
|
$this->WriteOrAddSettlement($game_code, $match_id, $bet_type, $order_id, $account_identity, $money);
|
|
$this->WriteOrAddSettlement($game_code, $match_id, $bet_type, $order_id, $account_identity, $money);
|