vali 6 år sedan
förälder
incheckning
1ea4d67a31
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      datainf/logic/HttpServerOnlySet.php

+ 2 - 2
datainf/logic/HttpServerOnlySet.php

@@ -212,7 +212,7 @@ class HttpServerOnlySet
         $this->PDatas['game_code'] = $game_code;
         $this->PDatas['match_id'] = $match_id;
 
-        $ret = [$order_ids, $bettype, $settype, $game_code, $match_id, $change_status,$is_manual];
+        $ret = [$order_ids, $bettype, $settype, $game_code, $match_id, $change_status, $is_manual];
 
         return $ret;
     }
@@ -585,7 +585,7 @@ class HttpServerOnlySet
         }
 
         if ($settype == 2) {
-            $ret = DB::table('settlement_middle_detail')->where(['game_code' => $game_code, 'match_id' => $match_id])->whereIn('order_id', explode(",", $order_ids))->get();
+            $ret = DB::table('settlement_middle_detail')->where(['game_code' => $game_code, 'match_id' => $match_id])->whereIn('order_id', $order_ids)->get();
             if ($ret) {
                 foreach ($ret as $val) {
                     $this->PDatas['settlement_middle_detail_array'][$val->bet_type][$val->order_id] = $val;