vali 6 년 전
부모
커밋
a4ccd0dbc2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Lib/Settlement/SettlementWinFail.php

+ 1 - 1
app/Lib/Settlement/SettlementWinFail.php

@@ -356,7 +356,7 @@ class SettlementWinFail
         }
 
         $table = 'st_' . $game_code . '_competition';
-        $ret = DB::table($table)->where('id', $batch_id)->first();
+        $ret = DB::table($table)->where('match_id', $batch_id)->first();
         if (count($ret) <= 0) {
             throw new  \Exception('根据比赛ID获取赛事数据有误-'.$game_code.'-'.$batch_id);
         }