commit
c6c06115fb
@ -43,6 +43,7 @@ class GoodsSkusImport implements ToCollection, SkipsEmptyRows
|
|||||||
$brands[] = $row[2];
|
$brands[] = $row[2];
|
||||||
$goodsCodes[] = $row[3];
|
$goodsCodes[] = $row[3];
|
||||||
}
|
}
|
||||||
|
unset($row);
|
||||||
$validator = Validator::make($collection, [
|
$validator = Validator::make($collection, [
|
||||||
'*.0' => ['required', 'string', 'max:191'],
|
'*.0' => ['required', 'string', 'max:191'],
|
||||||
'*.1' => ['required', 'string', 'max:191', 'exists:goods_types,name'],
|
'*.1' => ['required', 'string', 'max:191', 'exists:goods_types,name'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user