Commit a5dd4277 authored by m1991's avatar m1991

资讯模块——视频上传

parent 584c65af
......@@ -62,7 +62,7 @@ public class UploadServiceImpl implements UploadService {
String suffixName = "." + FilenameUtils.getExtension(zxName);
String newzxName = time+suffixName; //文件新名称
//设置文件存储路径,可以存放在你想要指定的路径里面
String rootPath=basePath+File.separator+"upload/video/"; //上传视频存放位置
String rootPath="D://"+File.separator+"upload/video/"; //上传视频存放位置
String filePath = rootPath+newzxName;
......
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