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 = {
|
||||
"/api/auth/**",
|
||||
"/auth/**",
|
||||
"/api/public/**",
|
||||
"/swagger-ui/**",
|
||||
"/v3/api-docs/**",
|
||||
|
@ -30,7 +30,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper, AppUser> impl
|
||||
|
||||
@Override
|
||||
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
|
||||
|
@ -147,7 +147,7 @@ spring:
|
||||
on-profile: dev
|
||||
security:
|
||||
jwt:
|
||||
enabled: false
|
||||
enabled: true
|
||||
logging:
|
||||
level:
|
||||
com.stdproject: DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user