vali 6 năm trước cách đây
mục cha
commit
63675d8c0a
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      datainf/logic/HttpServerOnlySet.php

+ 5 - 5
datainf/logic/HttpServerOnlySet.php

@@ -505,14 +505,14 @@ class HttpServerOnlySet
         $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])) {
             $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 ";