mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-13 07:45:41 +08:00
fix 角色分配判断是否越权未考虑到子孙角色, 补充一些请求权限注解
This commit is contained in:
@@ -7,7 +7,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.cache.CacheManager;
|
||||
import org.springframework.cache.annotation.CachingConfigurerSupport;
|
||||
import org.springframework.cache.annotation.CachingConfigurer;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.cache.interceptor.KeyGenerator;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -31,7 +31,7 @@ import java.time.Duration;
|
||||
@EnableConfigurationProperties(CachingProperties.class)
|
||||
@ConditionalOnClass(CacheManager.class)
|
||||
@ConditionalOnProperty(prefix = "bootx-platform.cache", value = "enabled", havingValue = "true", matchIfMissing = true)
|
||||
public class CachingConfiguration extends CachingConfigurerSupport {
|
||||
public class CachingConfiguration implements CachingConfigurer {
|
||||
|
||||
private final CachingProperties cachingProperties;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user