|
@@ -505,14 +505,14 @@ class HttpServerOnlySet
|
|
|
$reason = $type == 1 ? '单式投注订单回款' : '串式投注订单回款';
|
|
$reason = $type == 1 ? '单式投注订单回款' : '串式投注订单回款';
|
|
|
|
|
|
|
|
//用于记录用户余额的数据
|
|
//用于记录用户余额的数据
|
|
|
- if (!isset($this->PDatas['account_mash'][$buy_identity])) {
|
|
|
|
|
- $this->PDatas['account_mash'][$buy_identity] = $this->PDatas['account_indentity_map_array'][$buy_identity]->cash;
|
|
|
|
|
|
|
+ if (!isset($this->PDatas['account_mash'][$account_identity])) {
|
|
|
|
|
+ $this->PDatas['account_mash'][$account_identity] = $this->PDatas['account_indentity_map_array'][$account_identity]->cash;
|
|
|
}
|
|
}
|
|
|
- print_r(['debug2', $this->PDatas['account_mash'][$buy_identity], $this->PDatas['account_mash'][$buy_identity]]);
|
|
|
|
|
|
|
+ print_r(['debug2', $this->PDatas['account_mash'][$account_identity], $this->PDatas['account_mash'][$account_identity]]);
|
|
|
|
|
|
|
|
|
|
|
|
|
- $this->PDatas['account_mash'][$buy_identity] = $this->PDatas['account_mash'][$buy_identity] + $returnMoney;
|
|
|
|
|
- $user_money_cash = $this->PDatas['account_mash'][$buy_identity];
|
|
|
|
|
|
|
+ $this->PDatas['account_mash'][$account_identity] = $this->PDatas['account_mash'][$account_identity] + $returnMoney;
|
|
|
|
|
+ $user_money_cash = $this->PDatas['account_mash'][$account_identity];
|
|
|
|
|
|
|
|
if (isset($this->PDatas['money_detail_array'][$order_id])) {
|
|
if (isset($this->PDatas['money_detail_array'][$order_id])) {
|
|
|
$sql = "update money_details set money=$returnMoney,money_cash=$user_money_cash where account_identity='$account_identity' and trade_id='$order_id' and trade_type=4 ";
|
|
$sql = "update money_details set money=$returnMoney,money_cash=$user_money_cash where account_identity='$account_identity' and trade_id='$order_id' and trade_type=4 ";
|