出参中去掉url
This commit is contained in:
parent
045a561c07
commit
24ff5efcbb
@ -18,10 +18,6 @@ public class GetObjectMetaResponse {
|
||||
* 文件key
|
||||
*/
|
||||
private String key;
|
||||
/**
|
||||
* 文件url
|
||||
*/
|
||||
private String url;
|
||||
/**
|
||||
* 文件大小
|
||||
*/
|
||||
|
||||
@ -371,7 +371,7 @@ public class AliOssServiceImpl implements AliOssService {
|
||||
return aliOssClient.getClient().getSimplifiedObjectMeta(bucketName, key);
|
||||
} catch (Exception e) {
|
||||
log.error("aliyun getObjectMeta exception, bucketName:{}, key:{}", bucketName, key, e);
|
||||
throw new BizException(CodeEnum.GET_OBJECT_META_FAIL);
|
||||
return new SimplifiedObjectMeta();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,10 +24,6 @@ public class ManaGetObjectMetaResponse {
|
||||
* 文件key
|
||||
*/
|
||||
private String key;
|
||||
/**
|
||||
* 文件url
|
||||
*/
|
||||
private String url;
|
||||
/**
|
||||
* 文件大小
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user