feat: 细节优化

This commit is contained in:
qiufeng
2024-07-28 21:14:46 +08:00
parent 2e3257b8ed
commit 6fea8fc8c8
2 changed files with 2 additions and 2 deletions
@@ -36,7 +36,7 @@ public class DataScopeAspect {
List<DataScope> list = new ArrayList<>();
if (method.isAnnotationPresent(DataScopes.class)) {
DataScopes dataScopes = method.getAnnotation(DataScopes.class);
list.addAll(Arrays.stream(dataScopes.value()).toList());
list.addAll(Arrays.asList(dataScopes.value()));
} else {
list.add(method.getAnnotation(DataScope.class));
}
@@ -135,7 +135,7 @@ storage:
endpoint: oss-cn-hangzhou.aliyuncs.com
accessKeyId: LTAI5***********FsgT
accessKeySecret: ZtZGF***************JADjS2f
bucketName: landwise
bucketName: mfish
qiniu:
domain: http://cdn.mfish.com.cn
accessKey: cHlX4*******************cdsexgvP