vali 6 yıl önce
ebeveyn
işleme
f723829882
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      app/Logic/WinfailLogic.php

+ 3 - 2
app/Logic/WinfailLogic.php

@@ -393,8 +393,7 @@ class WinfailLogic
 
 
 //普通单式或串式订单输赢处理
-    public
-    function WinFailOneOrderNomal($order_id, $bet_type = 1)
+    public function WinFailOneOrderNomal($order_id, $bet_type = 1)
     {
         if ($bet_type == 1) {
             $orderInfo = DB::table('money_buy_simplex')->where('order_id', $order_id)->first();
@@ -415,6 +414,7 @@ class WinfailLogic
             if (empty($result)) {
                 return 0;
             }
+            $this->FormatResult_all($orderInfo->game_code, $result['0']);
         }
 
         $winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
@@ -435,6 +435,7 @@ class WinfailLogic
                     $chuanSkip = 1;
                     continue;
                 }
+                $this->FormatResult_all($game_code, $result['0']);
             }
 
             $AdapterObj = $this->getAdapterObj($game_code);