Commit 2c222552 authored by hezhen's avatar hezhen

123

parent 0bc63042
#项目url
XXMP_URL=https://xxtest.upyuns.com/image
XXMP_URL=/image
#token到期时间
TOKEN_OVER_TIME=604800
#itoken到期时间(6天)
......
......@@ -53,7 +53,7 @@ public class UploadService {
String filePath = baseUploadPath + realFileRelPath;
//将文件写入指定位置
FileUtils.copyInputStreamToFile(file.getInputStream(), new File(filePath));
realFileRelPath= SystemConfig.XXMP_URL+realFileRelPath;
realFileRelPath=xx_url+SystemConfig.XXMP_URL+realFileRelPath;
return realFileRelPath;
}
......@@ -83,7 +83,7 @@ public class UploadService {
realFileRelPath=filePath + "/" + no + ".jpg";
//将文件写入指定位置
ImgBase64Util.generateImage(imgFile,realFileRelPath);
realFileRelPath= SystemConfig.XXMP_URL+realFileRelPath;
realFileRelPath=xx_url+SystemConfig.XXMP_URL+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