소스 검색

首页接口

lizhen_gitee 1 년 전
부모
커밋
48e25da9f5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      application/api/controller/Index.php

+ 1 - 0
application/api/controller/Index.php

@@ -26,6 +26,7 @@ class Index extends Api
         $banner = list_domain_image($banner, ['image','video_file']);
         if(!empty($banner)){
             foreach($banner as $key => $val){
+                $banner[$key]['thumb_image'] = '';
                 if(!empty($val['video_file'])){
                     $banner[$key]['thumb_image'] = $val['video_file'].'?x-oss-process=video/snapshot,t_100,f_png,m_fast';
                 }