提交 99d165a8 authored 作者: 133's avatar 133

[file] 接口层修改日志

上级 ec5e73e9
......@@ -47,6 +47,7 @@ public class FileController {
public String url;
@Value("${preview.path}")
public String preview;
@Autowired
UseReportFIleService useReportFIleService;
......@@ -57,7 +58,7 @@ public class FileController {
@PostMapping("/printDocuments")
public ResponseEntity printDocuments(@RequestBody Documents documents) throws IOException, DocumentException {
String[] content = JavaToPdfHtmlFreeMarker.freeMarkerRender(documents,url+"htmlModel/");
log.info("[file] 调用了生成出入单据对接口 documents");
log.info("[file] 调用了生成出入单据对接口 出入库单据");
return ResponseEntity.ok(JavaToPdfHtmlFreeMarker.createPdf(content,url,preview,"documents/"));
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论