Browse Source

测试

master
Lemon 5 years ago
parent
commit
5e1ee69817
  1. 2
      app/Controller/v3/GoodsController.php

2
app/Controller/v3/GoodsController.php

@ -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{

Loading…
Cancel
Save