调整购物卡使用限制
This commit is contained in:
parent
9de3c1bde1
commit
da72fe2d5b
@ -83,8 +83,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
|||||||
$allowDelivery = true;
|
$allowDelivery = true;
|
||||||
$activityProductCount = 0;
|
$activityProductCount = 0;
|
||||||
//判断是否是平台购物卡,购物卡不允许使用任何优惠券
|
//判断是否是平台购物卡,购物卡不允许使用任何优惠券
|
||||||
$merchantCate = $merchantCartList[0]['list'][0]->product->merCateId;
|
$isPlatformCard = $merchantCartList[0]['list'][0]['product']->isPlatformCard();
|
||||||
$isPlatformCard = $merchantCart['list'][0]['product']->isPlatformCard();
|
|
||||||
if ($isPlatformCard) {
|
if ($isPlatformCard) {
|
||||||
$merchantTypeId = Merchant::where('uid', $uid)->value('type_id');
|
$merchantTypeId = Merchant::where('uid', $uid)->value('type_id');
|
||||||
if (empty($merchantTypeId) || $merchantTypeId != 21) {
|
if (empty($merchantTypeId) || $merchantTypeId != 21) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user