Browse Source

test

master
Lemon 5 years ago
parent
commit
8d1670616c
  1. 1
      app/Controller/v3/GoodsController.php

1
app/Controller/v3/GoodsController.php

@ -52,6 +52,7 @@ class GoodsController extends BaseController
$res['shopcart']['total'] = $this->shopCartService->getTotal();
$res['detail']->store->is_collected = (bool)$this->collectService->check($params['user_id'], $params['store_id']);
}else{
$res['shopcart'] = '';
$res['detail']->store->is_collected = '';
}
return $this->success($res);

Loading…
Cancel
Save