소스 검색

异常处理

彭俊 6 년 전
부모
커밋
fc3f1a7a71
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 = '';//赛事比分