...
|
...
|
@@ -273,20 +273,20 @@ func (controller *ImportController) ZipImport() { |
|
|
})
|
|
|
continue
|
|
|
}
|
|
|
if err := controller.parserAndInsert(f, fn); err != nil {
|
|
|
if err = controller.parserAndInsert(f, fn); err != nil {
|
|
|
failure = append(failure, command.ErrorI{
|
|
|
FileName: fn,
|
|
|
Message: err.Error(),
|
|
|
})
|
|
|
continue
|
|
|
} else {
|
|
|
success = append(success, command.ErrorI{
|
|
|
FileName: fn,
|
|
|
Message: "",
|
|
|
})
|
|
|
}
|
|
|
|
|
|
success = append(success, command.ErrorI{
|
|
|
FileName: fn,
|
|
|
Message: "",
|
|
|
})
|
|
|
}
|
|
|
|
|
|
// 解析完成
|
|
|
out = command.OutResult{
|
|
|
Status: "completed",
|
|
|
Success: success,
|
...
|
...
|
|