From 898043fc97d2ab8b793fd317a049b874ed207c6d Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Wed, 10 Dec 2025 20:12:31 +0800
Subject: [PATCH] 商户添加分类
---
admin/app/common/service/delivery/ExpressService.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/admin/app/common/service/delivery/ExpressService.php b/admin/app/common/service/delivery/ExpressService.php
index 0691908..c877540 100644
--- a/admin/app/common/service/delivery/ExpressService.php
+++ b/admin/app/common/service/delivery/ExpressService.php
@@ -39,7 +39,7 @@
{
if ($this->cityId) {
foreach ($this->productList as &$product) {
- if($product['is_virtual'] == 1){
+ if($product['is_virtual'] == 1||$product['is_virtual'] == 3){
continue;
}
if($product['delivery_id'] == 0){
@@ -65,7 +65,7 @@
$orderTotalPrice = helper::getArrayColumnSum($this->productList, 'total_price');
foreach ($this->productList as &$product) {
// 如果是虚拟物品,则为0
- if($product['is_virtual'] == 1){
+ if($product['is_virtual'] == 1 || $product['is_virtual'] == 3){
$product['express_price'] = 0;
}else if($product['delivery_id'] == 0){
// 包邮
--
Gitblit v1.9.2