feat():测试

yuan
yuan 2024-09-06 09:25:35 +08:00
parent b60abb6ce1
commit 7ea00fa1ce
1 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ public class OSSFileLoad {
// 从OSS下载文件
InputStream inputStream = ossClient.getObject(bucketName, fileClassPath + fileName ).getObjectContent();
File downloadFile = new File(localPath);
log.info("下载地址:[{}]",downloadFile);
FileOutputStream outputStream = new FileOutputStream(downloadFile);
byte[] buffer = new byte[1024];
@ -136,7 +137,7 @@ public class OSSFileLoad {
}
}
//对路径里的.class文件进行编译
System.out.println("执行编译");
log.info("执行编译class:[{}]",fileName);
FilesCompilerLoad.classLoad(fileName);
return Result.success(source);
}