服务启动
This commit is contained in:
@@ -14,7 +14,7 @@ import java.util.List;
|
||||
* @author yslg
|
||||
*/
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "urban-lifeline.auth")
|
||||
@ConfigurationProperties(prefix = "auth")
|
||||
public class AuthProperties {
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,10 +23,10 @@ import java.util.Map;
|
||||
@Component
|
||||
public class JwtTokenUtil {
|
||||
|
||||
@Value("${urban-lifeline.auth.jwt-secret:schoolNewsDefaultSecretKeyForJWT2025}")
|
||||
@Value("${auth.jwt-secret:urbanLifelineDefaultSecretKeyForJWT2025}")
|
||||
private String secret;
|
||||
|
||||
@Value("${urban-lifeline.auth.jwt-expiration:86400}")
|
||||
@Value("${auth.jwt-expiration:86400}")
|
||||
private Long expiration;
|
||||
|
||||
private SecretKey getSigningKey() {
|
||||
|
||||
Reference in New Issue
Block a user