...
|
...
|
@@ -171,6 +171,7 @@ class Cart extends Api |
|
|
$list = $model
|
|
|
->with(['goods','sku'])
|
|
|
->where('user_id',$this->auth->id)
|
|
|
->order('createtime desc')
|
|
|
->select();
|
|
|
foreach ($list as $key => $value){
|
|
|
$value->getRelation('goods')->visible(['goods_name','goods_id']);
|
...
|
...
|
|