Commit f2a03f40 authored by m1991's avatar m1991

资讯模块数据——视频功能修复

parent 083d544c
......@@ -166,7 +166,7 @@ public class UploadServiceImpl implements UploadService {
//判断上传文件格式
String fileType = file.getContentType();
if (fileType.equals("image/jpeg") || fileType.equals("image/png")) {
/
//上传后保存的文件名(需要防止图片重名导致的文件覆盖)
//获取文件名
fileName = file.getOriginalFilename();
......
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