Commit 777d93f6 authored by m1991's avatar m1991

资讯模块数据——展示功能实现

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