fix: #10000 校验规则修改

This commit is contained in:
赵世界 2022-08-17 16:01:46 +08:00
parent 04f2a54b1e
commit ea355d3395

View File

@ -38,7 +38,7 @@ class GoodsSkusImport implements ToCollection, SkipsEmptyRows
'*.2' => ['string', 'max:191', 'exists:goods_brands,name'], '*.2' => ['string', 'max:191', 'exists:goods_brands,name'],
'*.3' => ['required', 'alpha_dash', 'max:32'], '*.3' => ['required', 'alpha_dash', 'max:32'],
'*.4' => ['required', 'string', 'max:191'], '*.4' => ['required', 'string', 'max:191'],
'*.5' => ['required', 'distinct', 'alpha_dash', 'max:32'], '*.5' => ['required', 'alpha_dash', 'max:32'],
'*.6' => ['required', 'string', Rule::in(['下架', '在售', '预警'])], '*.6' => ['required', 'string', Rule::in(['下架', '在售', '预警'])],
'*.7' => ['required', 'max:10'], '*.7' => ['required', 'max:10'],
'*.8' => ['required', 'max:10'], '*.8' => ['required', 'max:10'],