vali 6 år sedan
förälder
incheckning
d314ebdce3
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      datainf/logic/HttpServerSettelement.php

+ 3 - 3
datainf/logic/HttpServerSettelement.php

@@ -277,7 +277,7 @@ class HttpServerSettelement
                 unset($chekArr);
             }
 
-            $this->cgStatusSett($bettype, $game_code, $match_id);
+            $this->cgStatusSett($bettype, $game_code, $match_id, $change_status);
 
             //分页处理数据
             $PageOrder_ids_1 = array_chunk($order_ids, 500);
@@ -387,9 +387,9 @@ class HttpServerSettelement
     }
 
     //改状态为正在结算中
-    private function cgStatusSett($bet_type, $game_code, $match_id)
+    private function cgStatusSett($bet_type, $game_code, $match_id, $change_status)
     {
-        if ($bet_type != 1) {
+        if ($bet_type != 1 || $change_status != 1) {
             return;
         }
         $table1 = "st_" . $game_code . "_result";