Skip to content

Commit

Permalink
上次改编码问题改出的代码BUG,会导致新文件上传不了
Browse files Browse the repository at this point in the history
上次改编码问题改出的代码BUG,会导致新文件上传不了
  • Loading branch information
nulldust authored Jun 22, 2016
1 parent 752409e commit 3301e90
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public JsonObjectBase updateFile(@Valid ConfNewForm confNewForm, @RequestParam("
String fileContent = "";
try {

String str = MyStringUtils.multipartFileToString(file);
fileContent = MyStringUtils.multipartFileToString(file);
LOG.info("receive file: " + fileContent);

} catch (Exception e) {
Expand Down Expand Up @@ -145,4 +145,4 @@ public JsonObjectBase updateFileWithText(@Valid ConfNewForm confNewForm, @NotNul

return buildSuccess("创建成功");
}
}
}

0 comments on commit 3301e90

Please sign in to comment.