|
@@ -13,7 +13,7 @@ class Zhengcejiedu extends Api
|
|
protected $noNeedRight = ['*'];
|
|
protected $noNeedRight = ['*'];
|
|
|
|
|
|
public function lists(){
|
|
public function lists(){
|
|
- $list = Db::name('zhengcejiedu')->field('id,title,image,updatetime')->where('status',1)->order('weigh','desc')->select();
|
|
|
|
|
|
+ $list = Db::name('zhengcejiedu')->field('id,title,image,audio_file,video_file,updatetime')->where('status',1)->order('weigh','desc')->select();
|
|
$list = list_domain_image($list,['image','audio_file','video_file']);
|
|
$list = list_domain_image($list,['image','audio_file','video_file']);
|
|
$this->success(1,$list);
|
|
$this->success(1,$list);
|
|
}
|
|
}
|