|
@@ -72,7 +72,7 @@ class StoreOrder extends BaseController
|
|
72
|
{
|
72
|
{
|
|
73
|
$cartId = (array)$this->request->param('cart_id', []);
|
73
|
$cartId = (array)$this->request->param('cart_id', []);
|
|
74
|
$addressId = (int)$this->request->param('address_id');
|
74
|
$addressId = (int)$this->request->param('address_id');
|
|
75
|
- $psType = $this->request->param('type',true);//是否需要地址 boolean
|
|
|
|
|
|
75
|
+ $psType = $this->request->param('type',false);//是否需要地址 boolean
|
|
76
|
$uid = $this->request->uid();
|
76
|
$uid = $this->request->uid();
|
|
77
|
|
77
|
|
|
78
|
if (!($count = count($cartId)) || $count != count($cartRepository->validIntersection($cartId, $uid)))
|
78
|
if (!($count = count($cartId)) || $count != count($cartRepository->validIntersection($cartId, $uid)))
|