vali hace 6 años
padre
commit
a9052fdde2
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      datainf/logic/HttpServerOnlySet.php

+ 5 - 2
datainf/logic/HttpServerOnlySet.php

@@ -188,6 +188,7 @@ class HttpServerOnlySet
         $game_code = isset($paras['game_code']) ? $paras['game_code'] : '';
         $match_id = isset($paras['match_id']) ? $paras['match_id'] : 0;
         $change_status = isset($paras['change_status']) ? $paras['change_status'] : 0;
+        $is_manual = isset($paras['is_manual']) ? intval($paras['is_manual']) : 0;
 
         if (intval($match_id) <= 0) {
             throw  new \Exception('赛事ID不能为空!', 100);
@@ -211,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];
+        $ret = [$order_ids, $bettype, $settype, $game_code, $match_id, $change_status,$is_manual];
 
         return $ret;
     }
@@ -538,7 +539,7 @@ class HttpServerOnlySet
 
 
     //数据预批量获取
-    private function DataPre($order_ids, $bettype, $settype, $game_code, $match_id, $change_status, $is_manual)
+    private function DataPre($order_ids, $bettype, $settype, $game_code, $match_id, $change_status, $is_manual = 0)
     {
 
         if ($bettype == 1) {
@@ -566,6 +567,8 @@ class HttpServerOnlySet
         } else {
             $ret = DB::table('money_buy_match')->where(['game_code' => $game_code, 'bet_type' => 2])->whereIn('order_id', $orderarr)->get();
         }
+
+
         foreach ($ret as $val) {
             $this->PDatas['Money_buy_Match_array'][$val->order_id][] = $val;
         }