vali 6 年之前
父節點
當前提交
d314ebdce3
共有 1 個文件被更改,包括 3 次插入3 次删除
  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";