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

文件路径打印

parent 2a96f9cf
......@@ -335,6 +335,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();
......@@ -351,6 +352,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