作者 刘朕
1 个管道 的构建 通过 耗费 1 秒

合并分支 'Branch_liuzhen' 到 'master'

Branch liuzhen



查看合并请求 !237
@@ -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);