zhouhao преди 6 години
родител
ревизия
65b0d756a4

+ 1 - 0
hsweb-system/hsweb-system-file/hsweb-system-file-web/src/main/java/org/hswebframework/web/controller/file/FileController.java

@@ -261,6 +261,7 @@ public class FileController {
             return ResponseMessage.ok();
         }
         String fileName = file.getOriginalFilename();
+        //fix bug #93
 //        String contentType = Optional.ofNullable(WebUtil.getHttpServletRequest())
 //                .orElseThrow(UnsupportedOperationException::new)
 //                .getContentType();