fix: 修复预览功能
报表上传以后目前可以正常预览
This commit is contained in:
@@ -69,12 +69,8 @@ public class PdfUtil {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
|
||||
//判断是否是服务器环境
|
||||
if ("local".equals(uploadType)) {
|
||||
list.add(targetPath + fileName + "/" + i + ".png");
|
||||
} else {
|
||||
list.add(ipAddress + "api/home/pic" + "/" + fileName + "/" + i + ".png");
|
||||
}
|
||||
list.add(ipAddress + "api/home/pic" + "/" + fileName + "/" + i + ".png");
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user