vali 6 жил өмнө
parent
commit
35215acd20

+ 9 - 9
datainf/logic/HttpServerOnlySet.php

@@ -130,10 +130,6 @@ class HttpServerOnlySet
                 }
 
                 $nowBuyDatasMainModel = $this->PDatas['Money_buy_Orders_Array'][$order_id];
-                if ($nowBuyDatasMainModel->status != 1) {
-                    // continue;
-                }
-
                 $account_indent = $nowBuyDatasMainModel->account_identity;
 
                 $paras = [
@@ -150,13 +146,17 @@ class HttpServerOnlySet
                     'money_prize' => isset($this->PDatas['money_prize_map'][$order_id]) ? $this->PDatas['money_prize_map'][$order_id]->id : 0
                 ];
 
-                if ($bettype == 1) {
-                    $this->singOrder($paras);
-                } else {
-                    $this->ChuanOrder($paras);
+                try {
+                    if ($bettype == 1) {
+                        $this->singOrder($paras);
+                    } else {
+                        $this->ChuanOrder($paras);
+                    }
+                } catch (\Exception $e) {
+
                 }
-                $this->UserTotalMoneySql();
             }
+            $this->UserTotalMoneySql();
 
             LABDOLAST:
             $this->cgStatus($game_code, $match_id, $change_status);