...
|
...
|
@@ -299,7 +299,7 @@ class House extends Api |
|
|
foreach($list as &$v){
|
|
|
$spec = Db::name('litestore_goods_spec')->where('goods_id',$v['goods_id'])->field('goods_price')->find();
|
|
|
$v['goods_price'] = $spec['goods_price'];
|
|
|
$v['image'] = explode(',',$v['images'])[0];
|
|
|
$v['image'] = cdnurl(explode(',',$v['images'])[0],true);
|
|
|
unset($v['images']);
|
|
|
}
|
|
|
$this->success('success',$list);
|
...
|
...
|
|