瀏覽代碼

首页接口

lizhen_gitee 10 月之前
父節點
當前提交
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';
                 }