|
@@ -28,7 +28,7 @@ class Caozuoguifan extends Apiw
|
|
|
->where('type_id',$typelist[0]['id'])
|
|
|
->autopage()
|
|
|
->select();
|
|
|
- $list = list_domain_image($list,['image']);
|
|
|
+ $list = list_domain_image($list,['image','videofile']);
|
|
|
}
|
|
|
|
|
|
$rs = [
|
|
@@ -48,7 +48,7 @@ class Caozuoguifan extends Apiw
|
|
|
->where('type_id',$type_id)
|
|
|
->autopage()
|
|
|
->select();
|
|
|
- $list = list_domain_image($list,['image']);
|
|
|
+ $list = list_domain_image($list,['image','videofile']);
|
|
|
|
|
|
$this->success(1, $list);
|
|
|
}
|
|
@@ -59,7 +59,7 @@ class Caozuoguifan extends Apiw
|
|
|
$info = Db::name('caozuoguifan')
|
|
|
->where('id',$id)
|
|
|
->find();
|
|
|
- $info = info_domain_image($info, ['image']);
|
|
|
+ $info = info_domain_image($info, ['image','videofile']);
|
|
|
|
|
|
//收藏
|
|
|
$info['is_collect'] = $this->is_collect($info['id'],$this->auth->id);
|