...
|
...
|
@@ -112,10 +112,10 @@ class Index extends Api |
|
|
$arr['res_advert'] = $res_advert;
|
|
|
|
|
|
//设计师作品
|
|
|
$res_design = Common::selectSoftWhereLimitData('goods',['is_design'=>$this->flag[1]],'id,name,introduce,sale_price1 sale_price,file','sort desc');
|
|
|
$res_design = Common::selectSoftWhereLimitData('goods',['is_design'=>$this->flag[1]],'id,name,introduce,sale_price1 sale_price,file,image','sort desc');
|
|
|
foreach ($res_design as &$d_value){
|
|
|
//获取视频帧
|
|
|
$d_value['image'] = $this->auth->absolutionUrlOneFrame($d_value['file'],2);
|
|
|
$d_value['image'] = [$this->auth->absolutionUrlOne($d_value['image'])];
|
|
|
$sale_price = Common::salePrice($d_value['sale_price']);
|
|
|
if($sale_price){
|
|
|
$d_value['sale_price'] = $sale_price[0];
|
...
|
...
|
|