1.0
longz
2026-06-24 e45e74e5ae207f7642be9a88ed99b593de89fb3b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.sinata.appointment.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@Data
@ConfigurationProperties(prefix = "security.admin-login-crypto")
public class AdminLoginCryptoProperties {
 
    /**
     * AES 密钥,16位字符。
     */
    private String key = "SinataAdminKey01";
 
    /**
     * AES CBC 偏移量,16位字符。
     */
    private String iv = "SinataAdminIv001";
 
    /**
     * 时间戳允许偏差,单位毫秒。
     */
    private long maxSkewMillis = 60_000L;
}