|
|
@@ -77,9 +77,9 @@ class StoreOrder extends BaseController
|
|
77
|
77
|
|
|
78
|
78
|
if (!($count = count($cartId)) || $count != count($cartRepository->validIntersection($cartId, $uid)))
|
|
79
|
79
|
return app('json')->fail('已失效或已下单');
|
|
80
|
|
- if (!$addressId) {
|
|
81
|
|
- return app('json')->fail('请选择收货地址');
|
|
82
|
|
- }
|
|
|
80
|
+ // if (!$addressId) {
|
|
|
81
|
+ // return app('json')->fail('请选择收货地址');
|
|
|
82
|
+ // }
|
|
83
|
83
|
$orderInfo = $this->repository->cartIdByOrderInfo($uid, $cartId, $addressId,true,$psType);
|
|
84
|
84
|
$orderInfo['product_type']=0;
|
|
85
|
85
|
if($this->source=='yhc'){
|