Commit 7faca15d by Simon Cheng

'密码读取'

parent 5b160f68
......@@ -596,7 +596,7 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
signResultPDF = tmpPathPDF + practitionerNO + "-signedYD.pdf";
String password = "UC645YlB";
password = CommonUtil.readFileTxt(PDFConfiguration.getProperty("pdf.keyPasswordFile"));
password = PDFConfiguration.getProperty("pdf.keyPassword");
String keyStorePath = "D:\\pcs12\\4929078_m.zuihuibi.cn.pfx";
keyStorePath = PDFConfiguration.getProperty("pdf.keyStorePath");
......@@ -617,6 +617,6 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
e.printStackTrace();
}
return templateResultPDF;
return signResultPDF;
}
}
pdf.template=/opt/tomcat8/conf/ydpdf/pdfres/templatePractitionerContract.pdf
pdf.signImage=/opt/tomcat8/conf/ydpdf/pdfres/yindunsign.png
pdf.keyStorePath=/opt/tomcat8/conf/ydpdf/pdfres/4929078_m.zuihuibi.cn.pfx
pdf.keyPasswordFile=/opt/tomcat8/conf/ydpdf/pdfres/jks-password.txt
pdf.keyPassword=UC645YlB
pdf.check=/opt/tomcat8/conf/ydpdf/pdfres/check.png
pdf.uncheck=/opt/tomcat8/conf/ydpdf/pdfres/uncheck.png
......
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