@@ -47,6 +47,8 @@ class GetOddsData {
});
})
->get()->toArray();
+ //===获取当前赛事是否有赔率,如果没有则去除===
+ $matchData = $this->commonFunction->Handle_Odds_Null($matchData,$models);
if(empty($matchData)) throw new \Exception(Render([], '10004', lang('Tips','Sports')->get('PARAM_ERROR')));
if(empty($matchData)){