Commit 0d12adf5 authored by m1991's avatar m1991

资讯模块——邀请码过滤特殊字符功能功能修复

parent d3058ec5
......@@ -214,10 +214,10 @@ public class UploadServiceImpl implements UploadService {
fileName = "1" + UUID.randomUUID() + fileName1 + ".jpg";//文件新名称
}
//设置文件存储路径,可以存放在你想要指定的路径里面
String Path = "/opt/upload/video/";
String Path = "/upload/";
String Path1 = "/upload/"; //上传图片存放位置
zxUrl += Path1 + fileName + ",";
String UrlzxPath ="/opt/upload/video/";
String UrlzxPath ="/upload/";
xxurl=UrlzxPath+ fileName;
if (FileUtils.upload(file, Path, fileName)) {
//文件存放的相对路径(一般存放在数据库用于img标签的src)
......
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