소스 검색

视频为空

lizhen_gitee 8 달 전
부모
커밋
131ff94067
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/api/controller/Tvindex.php

+ 1 - 1
application/api/controller/Tvindex.php

@@ -113,7 +113,7 @@ class Tvindex extends Api
                 ->where(['childcate_id' => $childcate_id])->where(['status'=>1,'inject_status'=>2])->order('weigh asc,id desc')->find();
         }
         if (!$info && !empty($childcate_id)) {
-            $this->success(1,[]);
+            $this->success(1,'{}');
         }
         if (!$info) {
             $this->error('不存在的视频');