补贴仅限官方店铺使用
This commit is contained in:
parent
fe1614ef0f
commit
ba6c337fe2
@ -564,6 +564,16 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
|||||||
'status' => 0,
|
'status' => 0,
|
||||||
'is_fail' => 0
|
'is_fail' => 0
|
||||||
];
|
];
|
||||||
|
//抵扣券仅限官方店铺使用
|
||||||
|
$isOfficialStore = true;
|
||||||
|
foreach ($merchantCartList as $merchantCart) {
|
||||||
|
if ($merchantCart['type_id'] != 22) {
|
||||||
|
$isOfficialStore = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!$isOfficialStore || $source != 103) {
|
||||||
|
$ConsumptionWhere['type'] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
if ($isPlatformCard) {
|
if ($isPlatformCard) {
|
||||||
$platformConsumption = [];
|
$platformConsumption = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user