作者 jinglong
1 个管道 的构建 通过 耗费 6 秒

修改商品详情页加第一帧

@@ -99,8 +99,12 @@ class Goods extends Api @@ -99,8 +99,12 @@ class Goods extends Api
99 $res['file'] = [ 99 $res['file'] = [
100 $this->auth->absolutionUrlOne($res['file']) 100 $this->auth->absolutionUrlOne($res['file'])
101 ]; 101 ];
  102 + $res['file_cover'] = [
  103 + $this->auth->absolutionUrlOneFrame($res['file'],1)
  104 + ];
102 }else{ 105 }else{
103 $res['file'] = []; 106 $res['file'] = [];
  107 + $res['file_cover'] = [];
104 } 108 }
105 //所属品牌分类 109 //所属品牌分类
106 if($res['type'] == 1){ 110 if($res['type'] == 1){