lizhen 2 dagar sedan
förälder
incheckning
f1d0e52755
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      application/api/controller/Zhengcejiedu.php

+ 2 - 2
application/api/controller/Zhengcejiedu.php

@@ -14,14 +14,14 @@ class Zhengcejiedu extends Api
 
     public function lists(){
         $list = Db::name('zhengcejiedu')->field('id,title,image,updatetime')->where('status',1)->order('weigh','desc')->select();
-        $list = list_domain_image($list,['image']);
+        $list = list_domain_image($list,['image','audio_file','video_file']);
         $this->success(1,$list);
     }
 
     public function detail(){
         $id = input('id');
         $info = Db::name('zhengcejiedu')->where('id',$id)->find();
-        $info = info_domain_image($info,['image','audio_file','video_file','video_image']);
+        $info = info_domain_image($info,['image','audio_file','video_file']);
 
         $this->success(1,$info);
     }