Ver código fonte

操作规范加字段

lizhen_gitee 8 meses atrás
pai
commit
c07dd337fb
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      application/api/controller/Caozuoguifan.php

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

@@ -28,7 +28,7 @@ class Caozuoguifan extends Api
                 ->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 Api
             ->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 Api
         $list = Db::name('caozuoguifan')
             ->where('id',$id)
             ->find();
-        $list = info_domain_image($list, ['image']);
+        $list = info_domain_image($list, ['image','videofile']);
 
         $this->success(1, $list);
     }