Jelajahi Sumber

视频为空

lizhen_gitee 9 bulan lalu
induk
melakukan
131ff94067
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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('不存在的视频');