| | |
| | | import org.springframework.boot.autoconfigure.AutoConfiguration; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.PropertySource; |
| | | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; |
| | | |
| | | /** |
| | | * sa-token 配置 |
| | |
| | | */ |
| | | @AutoConfiguration |
| | | @PropertySource(value = "classpath:common-satoken.yml", factory = YmlPropertySourceFactory.class) |
| | | public class SaTokenConfig implements WebMvcConfigurer { |
| | | public class SaTokenConfig { |
| | | |
| | | @Bean |
| | | public StpLogic getStpLogicJwt() { |