...
|
...
|
@@ -219,7 +219,7 @@ class Index extends Api |
|
|
$goods['goods_price'] = $goods['goods_price'] + $goods_style['goods_style_price'];
|
|
|
$goods['goods_style'] = $goods_style['goods_style'];
|
|
|
}
|
|
|
$user_size = UserSize::where(['user_id'=>$this->user['id'],'isdefault'=>'1'])->field('id,name')->find();
|
|
|
$user_size = UserSize::get(['user_id'=>$this->user['id'],'isdefault'=>'1'])->visible(['id','name']);
|
|
|
if($user_size){
|
|
|
$goods['size'] = $user_size;
|
|
|
}
|
...
|
...
|
|