Commit e155b8f2 authored by 张辰's avatar 张辰

1

parent 8d49de77
...@@ -20,16 +20,19 @@ public class PagePdfGenUtils { ...@@ -20,16 +20,19 @@ public class PagePdfGenUtils {
try { try {
BrowserFetcher.downloadIfNotExist(null); BrowserFetcher.downloadIfNotExist(null);
try { for (int i = 0;i < 5; i++) {
for (int i = 0;i < 5; i++) { try {
log.info("##### start genPdf"); log.info("##### start genPdf " + i);
genPdf("https://testtamper.tanpuyun.com/hangjiapc/#/billingPdf"); genPdf("https://testtamper.tanpuyun.com/hangjiapc/#/billingPdf");
} catch (Exception e) {
log.error("#### {}, error {}", i, e);
e.printStackTrace();
} }
} catch (Exception e) {
log.error("error {}", e);
e.printStackTrace();
} }
// ArrayList<String> argList = new ArrayList<>(); // ArrayList<String> argList = new ArrayList<>();
// LaunchOptions options = new LaunchOptionsBuilder() // LaunchOptions options = new LaunchOptionsBuilder()
// .withExecutablePath("/usr/bin/google-chrome") // .withExecutablePath("/usr/bin/google-chrome")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment