导入trim
This commit is contained in:
parent
bad83f9fb2
commit
541e4d36f0
@ -36,7 +36,7 @@ class ImportService extends Service
|
||||
foreach ($item as $key => $value) {
|
||||
$column = strtolower($title[$key]);
|
||||
if ($columns === null || in_array($column, $columns)) {
|
||||
$row[$column] = $value;
|
||||
$row[$column] = trim($value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user