Commit c03f4bb0 authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.7.10' into MVP1.7.10

parents 9aba3455 5c5e034f
...@@ -1042,7 +1042,7 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn ...@@ -1042,7 +1042,7 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
int port = 8001; int port = 8001;
String username = "wxrl"; String username = "wxrl";
// String privateKeyPath = "/path/to/your/private_key"; // 替换为你的私钥路径 // String privateKeyPath = "/path/to/your/private_key"; // 替换为你的私钥路径
String privateKeyPath = "D:/icbcFile/id_rsa"; // 替换为你的私钥路径 String privateKeyPath = "D:/icbcFile/icbc"; // 替换为你的私钥路径
String remoteDir = "/JFTStatementDownload/download"; String remoteDir = "/JFTStatementDownload/download";
String localPath = "D:/icbcFile/pdfFile"; // 替换为本地保存路径 String localPath = "D:/icbcFile/pdfFile"; // 替换为本地保存路径
...@@ -1051,7 +1051,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn ...@@ -1051,7 +1051,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
try { try {
JSch jsch = new JSch(); JSch jsch = new JSch();
// // 如果有密码,添加密码参数
// jsch.addIdentity(privateKeyPath, "root@yfmaster1");
// 添加私钥(注意:需要是没有密码保护的私钥) // 添加私钥(注意:需要是没有密码保护的私钥)
jsch.addIdentity(privateKeyPath); jsch.addIdentity(privateKeyPath);
......
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