|
|
@@ -685,7 +685,7 @@ public class DownloadProvider extends GenericUploadProvider implements IDownload
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void downloadFileStream(String attachmentId) {
|
|
|
+ public void downloadFileStream(String attachmentId) {//外客访问专用用于无taken访问,但是download也能无taken直接访问,多余写这个接口
|
|
|
try {
|
|
|
this.getUploadService();
|
|
|
FileInfo fileInfo = uploadService.downloadFile(attachmentId);
|
|
|
@@ -695,7 +695,7 @@ public class DownloadProvider extends GenericUploadProvider implements IDownload
|
|
|
RequestUtil.downLoadFileByByte(this.getRequest(), this.getResponse(), fileBlob, fileName);
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
- logger.error("/upload/download", e);
|
|
|
+ logger.error("/upload/downloadFileStream", e);
|
|
|
}
|
|
|
}
|
|
|
|