update 更新 GlobalLogFilter#filter 根据请求头判断加密参数 ;

This commit is contained in:
Michelle.Chung
2023-07-24 08:52:37 +08:00
parent ea01060ede
commit e078125470
2 changed files with 39 additions and 2 deletions

View File

@@ -0,0 +1,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;
}