正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -299,7 +299,7 @@ class House extends Api | @@ -299,7 +299,7 @@ class House extends Api | ||
299 | foreach($list as &$v){ | 299 | foreach($list as &$v){ |
300 | $spec = Db::name('litestore_goods_spec')->where('goods_id',$v['goods_id'])->field('goods_price')->find(); | 300 | $spec = Db::name('litestore_goods_spec')->where('goods_id',$v['goods_id'])->field('goods_price')->find(); |
301 | $v['goods_price'] = $spec['goods_price']; | 301 | $v['goods_price'] = $spec['goods_price']; |
302 | - $v['image'] = explode(',',$v['images'])[0]; | 302 | + $v['image'] = cdnurl(explode(',',$v['images'])[0],true); |
303 | unset($v['images']); | 303 | unset($v['images']); |
304 | } | 304 | } |
305 | $this->success('success',$list); | 305 | $this->success('success',$list); |
-
请 注册 或 登录 后发表评论