正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -273,20 +273,20 @@ func (controller *ImportController) ZipImport() { | @@ -273,20 +273,20 @@ func (controller *ImportController) ZipImport() { | ||
273 | }) | 273 | }) |
274 | continue | 274 | continue |
275 | } | 275 | } |
276 | - if err := controller.parserAndInsert(f, fn); err != nil { | 276 | + if err = controller.parserAndInsert(f, fn); err != nil { |
277 | failure = append(failure, command.ErrorI{ | 277 | failure = append(failure, command.ErrorI{ |
278 | FileName: fn, | 278 | FileName: fn, |
279 | Message: err.Error(), | 279 | Message: err.Error(), |
280 | }) | 280 | }) |
281 | - continue | ||
282 | - } | ||
283 | - | 281 | + } else { |
284 | success = append(success, command.ErrorI{ | 282 | success = append(success, command.ErrorI{ |
285 | FileName: fn, | 283 | FileName: fn, |
286 | Message: "", | 284 | Message: "", |
287 | }) | 285 | }) |
288 | } | 286 | } |
287 | + } | ||
289 | 288 | ||
289 | + // 解析完成 | ||
290 | out = command.OutResult{ | 290 | out = command.OutResult{ |
291 | Status: "completed", | 291 | Status: "completed", |
292 | Success: success, | 292 | Success: success, |
-
请 注册 或 登录 后发表评论