Commit 492b6c4f authored by huyuchen's avatar huyuchen

huych-工行回单下载

parent c046b91a
......@@ -1060,9 +1060,9 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
//String privateKeyPath = "D:/icbcFile/icbc"; // 替换为你的私钥路径
//usr/lib/java/yifu-ekp-biz/yifu-ekp/yifu-ekp-biz/src/main/resources/icbc/icbc
//E:\IdeaProjects\yifu_mvp\yifu-ekp\yifu-ekp-biz\src\main\resources\icbc\icbc
String privateKeyPath = this.getClass().getClassLoader().getResource("icbc/icbc").getPath();
String privateKeyPath = "/data/yifu/crm/code/yifu_mvp/yifu/yifu-ekp/yifu-ekp-biz/src/main/resources/icbc/icbc";
//System.getProperty("user.dir") + "/yifu-ekp/yifu-ekp-biz/src/main/resources/icbc/icbc"; // 远程目录路径
//System.getProperty("user.dir") + "/yifu-ekp/yifu-ekp-biz/src/main/resources/icbc/icbc"; // 远程目录路径
log.info("秘钥文件目录: " + privateKeyPath);
// 远程目录路径
String remoteDir = "/JFTStatementDownload/download";
......@@ -1125,7 +1125,7 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
}
// 3. 创建临时目录
String tempDir = this.getClass().getClassLoader().getResource("tem/sftp_processing/").getPath() + System.currentTimeMillis() + "/";
String tempDir = "/data/yifu/crm/code/yifu_mvp/yifu/yifu-ekp/yifu-ekp-biz/src/main/resources/tem/sftp_processing/" + System.currentTimeMillis() + "/";
log.info("临时目录: " + privateKeyPath);
//System.getProperty("user.dir") + "/yifu-ekp/yifu-ekp-biz/src/main/resources/tem/sftp_processing/" + System.currentTimeMillis() + "/";
new File(tempDir).mkdirs();
......
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