This commit is contained in:
mkm 2024-01-15 13:55:06 +08:00
parent 5708cd8098
commit 9b30aafceb

View File

@ -131,7 +131,11 @@ class StoreOrderCreateRepository extends StoreOrderRepository
$noDeliver = false; $noDeliver = false;
$presellType = 0; $presellType = 0;
$fn = []; $fn = [];
$enabledPlatformCoupon = !$order_type; if(in_array($source,[0,2,103])){
$enabledPlatformCoupon=true;
}else{
$enabledPlatformCoupon=false;
}
$order_total_postage = 0; $order_total_postage = 0;
$platformCoupon = []; $platformCoupon = [];