提交 45ab62d4 authored 作者: mry's avatar mry

fix(base): 修改了url地址

上级 dc97896f
...@@ -59,7 +59,7 @@ public class GenerateReporter { ...@@ -59,7 +59,7 @@ public class GenerateReporter {
temp.process(context, writer); temp.process(context, writer);
writer.flush(); writer.flush();
ReportMessage reportMessage = new ReportMessage(); ReportMessage reportMessage = new ReportMessage();
reportMessage.setUrl("/report/" + FILE_NAME); reportMessage.setUrl(FILE_NAME);
return reportMessage; return reportMessage;
} catch (Exception e) { } catch (Exception e) {
throw new GlobalException(e.getMessage()); throw new GlobalException(e.getMessage());
......
...@@ -59,7 +59,7 @@ public class GenerateReporterJob { ...@@ -59,7 +59,7 @@ public class GenerateReporterJob {
temp.process(context, writer); temp.process(context, writer);
writer.flush(); writer.flush();
ReportMessage reportMessage = new ReportMessage(); ReportMessage reportMessage = new ReportMessage();
reportMessage.setUrl("/report/" + FILE_NAME); reportMessage.setUrl(FILE_NAME);
return reportMessage; return reportMessage;
} catch (Exception e) { } catch (Exception e) {
throw new GlobalException(e.getMessage()); throw new GlobalException(e.getMessage());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论