修复oauth-starter问题
This commit is contained in:
parent
e6e28161ba
commit
f4e1c7658c
@ -30,5 +30,5 @@ public interface UserMapper extends BaseMapper<UserPo> {
|
|||||||
* @author zhuyijun
|
* @author zhuyijun
|
||||||
* @date 2022/9/19 上午12:47
|
* @date 2022/9/19 上午12:47
|
||||||
*/
|
*/
|
||||||
IPage<UserVo> findPage(IPage<UserPageDto> page, @Param("userDto") UserPageDto userPageDto, @Param("tenantId") String tenantId);
|
IPage<UserVo> findPage(IPage<UserPageDto> page, @Param("userPageDto") UserPageDto userPageDto, @Param("tenantId") String tenantId);
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,6 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|||||||
@Override
|
@Override
|
||||||
public void configure(HttpSecurity http) throws Exception {
|
public void configure(HttpSecurity http) throws Exception {
|
||||||
http.csrf().disable()
|
http.csrf().disable()
|
||||||
.requestMatchers().regexMatchers("/user/**").and()
|
|
||||||
.authorizeRequests()
|
.authorizeRequests()
|
||||||
.anyRequest()
|
.anyRequest()
|
||||||
.authenticated()
|
.authenticated()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
org.springframework.boot.cn.zyjblogs.starter.feign.autoconfigure.EnableAutoConfiguration=\
|
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||||
cn.zyjblogs.starter.oauth.cn.zyjblogs.starter.feign.autoconfigure.OauthAutoConfiguration,\
|
cn.zyjblogs.starter.oauth.config.OauthFeignInterceptorAutoConfiguration,\
|
||||||
|
cn.zyjblogs.starter.oauth.resource.ResourceServerConfig,\
|
||||||
cn.zyjblogs.starter.oauth.security.TokenConfig,\
|
cn.zyjblogs.starter.oauth.security.TokenConfig,\
|
||||||
cn.zyjblogs.starter.oauth.security.OauthAccessTokenConverter,\
|
cn.zyjblogs.starter.oauth.security.OauthAccessTokenConverter,\
|
||||||
cn.zyjblogs.starter.oauth.config.OauthInterceptorAutoConfiguration,\
|
cn.zyjblogs.starter.oauth.config.OauthInterceptorAutoConfiguration,\
|
||||||
cn.zyjblogs.starter.oauth.config.OauthFeignInterceptorAutoConfiguration,\
|
cn.zyjblogs.starter.oauth.autoconfigure.OauthAutoConfiguration
|
||||||
cn.zyjblogs.starter.oauth.resource.ResourceServerConfig
|
|
Loading…
Reference in New Issue
Block a user