15954078560 пре 2 година
родитељ
комит
a684d3eaa9
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      application/api/controller/Index.php

+ 1 - 2
application/api/controller/Index.php

@@ -1218,8 +1218,7 @@ class Index extends Api
             $this->error('您的网络开小差了~');
         }
 
-        $list = Db::name('video')->field('id, title, image')->where(['video_type_id' => $type_id, 'status' => 1, 'inject_status' => 2])
-            ->page($this->page, $this->pagenum)->order('weigh, id desc')->select();
+        $list = Db::name('video')->field('id, title, image, is_pay')->where(['video_type_id' => $type_id, 'status' => 1, 'inject_status' => 2])->page($this->page, $this->pagenum)->order('weigh, id desc')->select();
 
         $list = list_domain_image($list, ['image']);
         $this->success('视频', $list);