|
@@ -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);
|