xuekang
2024-05-10 806d4b0d8639b3b04c166cc60a69eb6f31d4e6aa
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
package org.dromara.gateway.config.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
 
/**
 * api解密属性配置类
 * @author wdhcr
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "api-decrypt")
public class ApiDecryptProperties {
 
    /**
     * 加密开关
     */
    private Boolean enabled;
 
    /**
     * 头部标识
     */
    private String headerFlag;
 
}