Merge branch 'main' of http://121.37.111.42:3000/zhengsl/stdproject
This commit is contained in:
commit
092a66654a
@ -52,7 +52,7 @@ public class SecurityConfig {
|
|||||||
|
|
||||||
// 公开路径配置
|
// 公开路径配置
|
||||||
private static final String[] PUBLIC_PATHS = {
|
private static final String[] PUBLIC_PATHS = {
|
||||||
"/api/auth/**",
|
"/auth/**",
|
||||||
"/api/public/**",
|
"/api/public/**",
|
||||||
"/swagger-ui/**",
|
"/swagger-ui/**",
|
||||||
"/v3/api-docs/**",
|
"/v3/api-docs/**",
|
||||||
|
@ -30,7 +30,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper, AppUser> impl
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AppUser findByUsername(String username) {
|
public AppUser findByUsername(String username) {
|
||||||
return getOne(new QueryWrapper<AppUser>().eq("username", username).select( "id", "username", "orgid", "usertype","nickname"));
|
return getOne(new QueryWrapper<AppUser>().eq("username", username).select( "id", "username","password","status", "orgid", "usertype","nickname"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -147,7 +147,7 @@ spring:
|
|||||||
on-profile: dev
|
on-profile: dev
|
||||||
security:
|
security:
|
||||||
jwt:
|
jwt:
|
||||||
enabled: false
|
enabled: true
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.stdproject: DEBUG
|
com.stdproject: DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user