...
|
...
|
@@ -219,9 +219,9 @@ 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::get(['user_id'=>$this->user['id'],'isdefault'=>'1'])->visible(['id','name']);
|
|
|
$user_size = UserSize::get(['user_id'=>$this->user['id'],'isdefault'=>'1']);
|
|
|
if($user_size){
|
|
|
$goods['size'] = $user_size;
|
|
|
$goods['size'] = $user_size->visible(['id','name']);
|
|
|
}
|
|
|
}
|
|
|
$goods['appraise'] = \app\common\model\GoodsAppraise::getList(['goods_id'=>$goods_id],1,1);
|
...
|
...
|
|