From 407128413d24af780baf5e85fd4359a1a3457272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Tue, 13 Oct 2026 18:07:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=BD=91=E7=9B=98=E5=95=86=E5=93=81):=20?= =?UTF-8?q?=E6=94=BE=E5=BC=80=E8=87=AA=E5=8A=A8=E5=8F=91=E8=B4=A7=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E4=B8=8D=E5=86=8D=E5=BC=BA=E5=88=B6=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../virtual/service/ProductSaveServices.php | 3 --- .../product/productAdd/components/SpecStock.vue | 17 ----------------- 2 files changed, 20 deletions(-) diff --git a/backend/modules/product/virtual/service/ProductSaveServices.php b/backend/modules/product/virtual/service/ProductSaveServices.php index b83d7f917..b3a563e75 100644 --- a/backend/modules/product/virtual/service/ProductSaveServices.php +++ b/backend/modules/product/virtual/service/ProductSaveServices.php @@ -175,9 +175,6 @@ class ProductSaveServices extends BaseService if (empty($data['slider_image']) || count($data['slider_image']) < 1) { throw new \RuntimeException('请选择商品轮播图'); } - if ((int)($data['is_auto_send'] ?? 1) !== 1) { - throw new \RuntimeException('网盘商品必须开启支付后自动发货'); - } $attrs = $data['attrs'] ?? []; if (!is_array($attrs) || empty($attrs)) { throw new \RuntimeException('请配置网盘商品 SKU'); diff --git a/frontend/admin/src/pages/product/productAdd/components/SpecStock.vue b/frontend/admin/src/pages/product/productAdd/components/SpecStock.vue index 531095552..e35fe6b3d 100644 --- a/frontend/admin/src/pages/product/productAdd/components/SpecStock.vue +++ b/frontend/admin/src/pages/product/productAdd/components/SpecStock.vue @@ -19,19 +19,6 @@ - - - - - 开启后支付成功自动发放网盘链接与提取码 - - @@ -835,8 +822,4 @@ function objectSpanMethod({ row, column, rowIndex, columnIndex }) { flex: none; } } -.autosend-tips { - font-size: 12px; - color: #999; -}