fix: 修复网关异常😡缺loadbalacner依赖导致的503,然后把auth服务写一下
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package cn.meowrain.aioj.backend.auth.common.constants;
|
||||
|
||||
public class RedisKeyConstants {
|
||||
public static String REFRESH_TOKEN_KEY_PREFIX = "refresh_token:%s";
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package cn.meowrain.aioj.backend.auth.filter;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* JWT拦截器
|
||||
*/
|
||||
@Component
|
||||
public class JwtAuthenticationFilter {
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
spring:
|
||||
application:
|
||||
name: auth-service
|
||||
data:
|
||||
redis:
|
||||
host: 10.0.0.10
|
||||
|
||||
Reference in New Issue
Block a user