完善 h5 端后端登录流程

This commit is contained in:
2024-02-24 23:31:04 +08:00
parent 443ac4d569
commit 249558d93a
5 changed files with 24 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ public class LoginMvcConfigurerAdapter extends WebMvcConfigurationSupport {
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new UserLoginInterceptor(redisTemplate))
.addPathPatterns("/api/**")
.excludePathPatterns("/api/user/weixin/wxLogin/*");
.excludePathPatterns("/api/user/weixin/wxLogin/*", "/api/user/h5/login/*");
super.addInterceptors(registry);
}
}