feat():测试
parent
ee235e9f68
commit
73d586561c
|
@ -82,6 +82,8 @@ public class ALiYunUpload {
|
||||||
ossClient.putObject(bucketName, objectName, new File(filePath));
|
ossClient.putObject(bucketName, objectName, new File(filePath));
|
||||||
|
|
||||||
log.info("文件[{}]存储成功",fileName+ MethodSuffix.CLASSSUFFIX);
|
log.info("文件[{}]存储成功",fileName+ MethodSuffix.CLASSSUFFIX);
|
||||||
|
log.info("开始拉取....");
|
||||||
|
OSSFileLoad.streamingClassDownload(fileName);
|
||||||
return Result.success(null,"文件"+fileName+".class"+"存储成功");
|
return Result.success(null,"文件"+fileName+".class"+"存储成功");
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue