彭俊 6 lat temu
rodzic
commit
fc3f1a7a71
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Application/Sports/Controller/MatchList.php

+ 1 - 1
Application/Sports/Controller/MatchList.php

@@ -537,7 +537,7 @@ class  MatchList extends Controller {
                 ->where([$model_match.'.id'=>$matchID])
                 ->first();
 
-            if(empty($matchData)) Render([], '1', lang('Tips','Sports')->get('success'));
+            if(empty($matchData)) Render(null, '1', lang('Tips','Sports')->get('success'));
 
             $matchData->ptime = '';//赛事进行时间
             $matchData->match_score = '';//赛事比分