Skip to content

Commit

Permalink
增加注释
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Oct 12, 2018
1 parent 5c01883 commit 65b0d75
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public ResponseMessage<FileInfoEntity> upload(@RequestPart("file") MultipartFile
return ResponseMessage.ok();
}
String fileName = file.getOriginalFilename();
//fix bug #93
// String contentType = Optional.ofNullable(WebUtil.getHttpServletRequest())
// .orElseThrow(UnsupportedOperationException::new)
// .getContentType();
Expand Down

0 comments on commit 65b0d75

Please sign in to comment.