mirror of
https://github.com/dqjdda/Aurora.git
synced 2018-11-06 05:33:29 +00:00
新增导航栏天气显示
This commit is contained in:
@@ -13,11 +13,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
@Configuration
|
||||
public class ConfigurerAdapter implements WebMvcConfigurer {
|
||||
|
||||
@Bean
|
||||
LockInterceptor lockInterceptor(){
|
||||
return new LockInterceptor();
|
||||
}
|
||||
|
||||
/**
|
||||
* 以前要访问一个页面需要先创建个Controller控制类,再写方法跳转到页面
|
||||
* 在这里配置后就不需要那么麻烦了,直接访问http://localhost/login.html就跳转到login页面了
|
||||
|
||||
Reference in New Issue
Block a user