|
@@ -139,7 +139,7 @@ class Pricing extends Api
|
|
|
$list = Cart::get(function ($query){
|
|
|
$query->where(['user_id'=>$this->auth->id,'id'=>input('id')])->order('id desc');
|
|
|
});
|
|
|
- $list['goods'] = Goods::field('name,price,image')->find(['id'=>$list['goods_id']]);
|
|
|
+ $list['goods'] = Goods::field('name,price,image,after_sale')->find(['id'=>$list['goods_id']]);
|
|
|
|
|
|
$this->success('请求成功',$list);
|
|
|
}
|