From 038fedc8a0bfb61f0894b8879838001d3847aaa6 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 23 Dec 2025 18:06:57 +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