正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -112,10 +112,10 @@ class Index extends Api | @@ -112,10 +112,10 @@ class Index extends Api | ||
112 | $arr['res_advert'] = $res_advert; | 112 | $arr['res_advert'] = $res_advert; |
113 | 113 | ||
114 | //设计师作品 | 114 | //设计师作品 |
115 | - $res_design = Common::selectSoftWhereLimitData('goods',['is_design'=>$this->flag[1]],'id,name,introduce,sale_price1 sale_price,file','sort desc'); | 115 | + $res_design = Common::selectSoftWhereLimitData('goods',['is_design'=>$this->flag[1]],'id,name,introduce,sale_price1 sale_price,file,image','sort desc'); |
116 | foreach ($res_design as &$d_value){ | 116 | foreach ($res_design as &$d_value){ |
117 | //获取视频帧 | 117 | //获取视频帧 |
118 | - $d_value['image'] = $this->auth->absolutionUrlOneFrame($d_value['file'],2); | 118 | + $d_value['image'] = [$this->auth->absolutionUrlOne($d_value['image'])]; |
119 | $sale_price = Common::salePrice($d_value['sale_price']); | 119 | $sale_price = Common::salePrice($d_value['sale_price']); |
120 | if($sale_price){ | 120 | if($sale_price){ |
121 | $d_value['sale_price'] = $sale_price[0]; | 121 | $d_value['sale_price'] = $sale_price[0]; |
-
请 注册 或 登录 后发表评论