no message
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -215,7 +215,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService { | ... | @@ -215,7 +215,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService { |
| 215 | uploadResult = storage.uploadSuffix(encryptBytes, suffix, file.getContentType()); | 215 | uploadResult = storage.uploadSuffix(encryptBytes, suffix, file.getContentType()); |
| 216 | } | 216 | } |
| 217 | else{ | 217 | else{ |
| 218 | uploadResult = storage.upload(file.getBytes(), originalfileName, file.getContentType()); | 218 | uploadResult = storage.uploadSuffix(file.getBytes(), suffix, file.getContentType()); |
| 219 | } | 219 | } |
| 220 | } catch (IOException e) { | 220 | } catch (IOException e) { |
| 221 | throw new ServiceException(e.getMessage()); | 221 | throw new ServiceException(e.getMessage()); | ... | ... |
-
Please register or sign in to post a comment