bug:修改文件下载链接的’/‘

This commit is contained in:
wxyclub
2023-08-28 16:19:04 +08:00
parent b737082196
commit cae8c9c2ac
@@ -54,6 +54,8 @@ public class AttFileEOServiceImpl extends ServiceImpl<AttFileEODao, AttFileEO> i
attFileEO = this.getFileInfo(attId);
//2020年10月25日 此处补充文件的下载地址
StringBuffer downloadFileUrl = new StringBuffer();
// 去除downloadURL末尾的 /
downloadUrl = downloadUrl.substring(0,downloadUrl.length()-1);
downloadFileUrl.append(downloadUrl).append(attFileEO.getFilePath()).append(attFileEO.getFileName());
attFileEO.setDownLoadUrl(downloadFileUrl.toString());
}else{