vali 6 years ago
parent
commit
74a788f8f6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      datainf/logic/HttpServerOnlySet.php

+ 3 - 3
datainf/logic/HttpServerOnlySet.php

@@ -461,9 +461,9 @@ class HttpServerOnlySet
 
         $this->PushSqlToArray(" update money_buy_str  set settle_status=2 , game_status=1 , settlementTime='$newTime' , gain_money=$money  where order_id = '$order_id'");
         $this->WriteOrAddSettlement($game_code, $match_id, $bet_type, $order_id, $account_identity, $money);
-        $useraccident = $this->BuyDatasMainModel->account_identity;
-        $this->userMoneyTotal[$useraccident] = isset($this->account_identity[$useraccident]) ? $this->account_identity[$useraccident] + $money : $money;
-        $this->insertData($order_id, $money, $this->BuyDatasMainModel->account_identity, 2, $val->game_code, $this->BuyDatasMainModel->info_identity, $this->BuyDatasMainModel->money, $this->match_id, $account, $money_prize);
+        $useraccident = $simplexData->account_identity;
+        $this->userMoneyTotal[$useraccident] = isset($this->userMoneyTotal[$useraccident]) ? $this->userMoneyTotal[$useraccident] + $money : $money;
+        $this->insertData($order_id, $money, $useraccident, 2, $game_code, $simplexData->info_identity, $money, $match_id, $account, $money_prize);
 
         return true;
     }