lizhen_gitee 6 months ago
parent
commit
4614a69e97
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/api/controller/worker/Caozuoguifan.php

+ 3 - 3
application/api/controller/worker/Caozuoguifan.php

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