lizhen_gitee 8 месяцев назад
Родитель
Сommit
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('不存在的视频');