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

日志打印

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