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