longz
2026-06-29 9d4cbff7464ebfd7803c2ce53ded49d0f73fe011
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.sinata.appointment.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@Data
@ConfigurationProperties(prefix = "integration.hikvision.qrcode")
public class HikvisionQrcodeProperties {
 
    /**
     * 是否在访客码接口返回前加密二维码内容。关闭时返回库内明文,便于本地联调排查。
     */
    private boolean encryptEnabled = false;
 
    /**
     * AES 密钥,启用加密时必须为 16 位字符。
     */
    private String aesKey = "";
 
    /**
     * AES CBC 偏移量,启用加密时必须为 16 位字符。
     */
    private String aesIv = "";
 
    /**
     * 二维码有效分钟数;为空或小于 1 时继续沿用现有预约最长天数换算逻辑。
     */
    private Integer validMinutes;
}