From ea355d3395553e42163fddde5e5f4f729df7e6fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=96=E7=95=8C?= <642747453@qq.com> Date: Wed, 17 Aug 2022 16:01:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20#10000=20=E6=A0=A1=E9=AA=8C=E8=A7=84?= =?UTF-8?q?=E5=88=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Imports/GoodsSkusImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Imports/GoodsSkusImport.php b/app/Imports/GoodsSkusImport.php index 61bc4c4..f7aa3b5 100644 --- a/app/Imports/GoodsSkusImport.php +++ b/app/Imports/GoodsSkusImport.php @@ -38,7 +38,7 @@ class GoodsSkusImport implements ToCollection, SkipsEmptyRows '*.2' => ['string', 'max:191', 'exists:goods_brands,name'], '*.3' => ['required', 'alpha_dash', 'max:32'], '*.4' => ['required', 'string', 'max:191'], - '*.5' => ['required', 'distinct', 'alpha_dash', 'max:32'], + '*.5' => ['required', 'alpha_dash', 'max:32'], '*.6' => ['required', 'string', Rule::in(['下架', '在售', '预警'])], '*.7' => ['required', 'max:10'], '*.8' => ['required', 'max:10'],