feat():测试
parent
b60abb6ce1
commit
7ea00fa1ce
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue