浏览代码

视频为空

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('不存在的视频');