vali 6 years ago
parent
commit
dc10be94e2
1 changed files with 4 additions and 1 deletions
  1. 4 1
      app/Logic/UnSettmatchLogic.php

+ 4 - 1
app/Logic/UnSettmatchLogic.php

@@ -164,6 +164,7 @@ class UnSettmatchLogic
                 $order_main->status = 3;
                 $order_main->settlement_time = date('Y-m-d H:i:s');
                 $order_main->use_mark = '';
+                $order_main->game_status = 2;
                 $order_main->save();
 
                 goto SUCCESSCUL;
@@ -336,6 +337,7 @@ class UnSettmatchLogic
             $mModel->save();
 
             $item->status = 3;
+            $item->game_status = 2;
             $item->settlement_time = date('Y-m-d H:i:s');
             $item->use_mark = '';
             $item->save();
@@ -365,7 +367,8 @@ class UnSettmatchLogic
 
         //这里只把结果改为平局,再提交到旧的重新结算订单接口处理
         foreach ($strOrders as $item2) {
-            $item2->status = 2;
+            $item2->status = 3;
+            $item2->game_status = 2;
             $item2->settlement_time = date('Y-m-d H:i:s');
             $item2->save();