Commit 5e019d3e authored by hezhen's avatar hezhen

123

parent f7bd0a98
...@@ -80,9 +80,11 @@ public class UploadService { ...@@ -80,9 +80,11 @@ public class UploadService {
file.mkdirs(); file.mkdirs();
} }
realFileRelPath=filePath + "/" + no + ".jpg"; String str="/" + no + ".jpg";
realFileRelPath = realFileRelPath+str;
filePath=filePath +str;
//将文件写入指定位置 //将文件写入指定位置
ImgBase64Util.generateImage(imgFile,realFileRelPath); ImgBase64Util.generateImage(imgFile,filePath);
realFileRelPath=xx_url+SystemConfig.XXMP_URL+realFileRelPath; realFileRelPath=xx_url+SystemConfig.XXMP_URL+realFileRelPath;
return realFileRelPath; return realFileRelPath;
} }
......
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