Commit beb8252d authored by 陈宏杰's avatar 陈宏杰

文件路径打印

parent 2a96f9cf
...@@ -335,6 +335,7 @@ public class BaiHangFileReportService { ...@@ -335,6 +335,7 @@ public class BaiHangFileReportService {
* @param filePath 需要加密的文件路径 * @param filePath 需要加密的文件路径
*/ */
private static void createFile(String filePath){ private static void createFile(String filePath){
log.info("创建加密文件,明文文件路径 {}",filePath);
File host = new File(HOST_PATH); File host = new File(HOST_PATH);
if (!host.exists()){ if (!host.exists()){
host.mkdir(); host.mkdir();
...@@ -351,6 +352,7 @@ public class BaiHangFileReportService { ...@@ -351,6 +352,7 @@ public class BaiHangFileReportService {
client.init(BaiHangZhuDaiService.getBaihangZDPublickey(),aesKey); client.init(BaiHangZhuDaiService.getBaihangZDPublickey(),aesKey);
//执行压缩加密操作 //执行压缩加密操作
FileUploadResponse response = client.execute(req); FileUploadResponse response = client.execute(req);
log.info("执行压缩加密操作出参{}",JSONObject.toJSONString(response));
if(response.isSuccess){ if(response.isSuccess){
System.out.println("zip And encrypt success;fileName = "+response.getEncryptFilePath() + response.getEncryptFileName()); System.out.println("zip And encrypt success;fileName = "+response.getEncryptFilePath() + response.getEncryptFileName());
}else{ }else{
......
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