Ver Fonte

异常处理

彭俊 há 6 anos atrás
pai
commit
fc3f1a7a71
1 ficheiros alterados com 1 adições e 1 exclusões
  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 = '';//赛事比分