Commit c5112ae6 authored by dahai's avatar dahai

调试上传文件

parent 6d748685
...@@ -72,7 +72,6 @@ public class ImportXmlApi { ...@@ -72,7 +72,6 @@ public class ImportXmlApi {
if (multipartResolver.isMultipart(requ)) { if (multipartResolver.isMultipart(requ)) {
MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest) requ; MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest) requ;
Iterator<String> iter = multiRequest.getFileNames(); Iterator<String> iter = multiRequest.getFileNames();
Integer fileCount = 0;
while (iter.hasNext()) { while (iter.hasNext()) {
MultipartFile item = multiRequest.getFile(iter.next()); MultipartFile item = multiRequest.getFile(iter.next());
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment