|
|
|
@ -48,7 +48,7 @@ class GoodsController extends BaseController |
|
|
|
$res['banner'] = $this->goodsService->getBanner(); |
|
|
|
} |
|
|
|
if(isset($params['user_id'])) { |
|
|
|
$res['shopcart']['check'] = $this->shopCartService->check(111); |
|
|
|
$res['shopcart']['count'] = $this->shopCartService->check(111); |
|
|
|
$res['shopcart']['total'] = $this->shopCartService->getTotal(); |
|
|
|
$res['detail']->store->is_collected = (bool)$this->collectService->check($params['user_id'], $params['store_id']); |
|
|
|
}else{ |
|
|
|
|