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; -}