销售订单增加导出PI功能

This commit is contained in:
Mrking 2024-11-02 12:12:42 +08:00
parent 47ca534052
commit 12638209f7
1 changed files with 1 additions and 0 deletions

View File

@ -499,6 +499,7 @@ public class SaleOrderServiceImpl implements SaleOrderService {
String input_html_path = fileName2 + ".html";
params.put("input_html_path",input_html_path);
params.put("output_pdf_path",pdfPath);
log.info("请求wkapp接口url"+wkappUrl+"/exehtmltopdf");
String result = HttpUtil.post(wkappUrl + "/exehtmltopdf", params, 5 * 60 * 1000);
log.info("请求wkapp接口返回结果"+result);
//WKHtmlToPdfUtil.convert(templatePath, pdfPath);