package com.ruoyi.gateway.config.properties;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
import org.springframework.context.annotation.Configuration;
|
|
/**
|
* @author ruoyi
|
*/
|
@Configuration
|
@RefreshScope
|
@ConfigurationProperties(prefix = "security.anti-shake")
|
public class AntiShakeProperties {
|
|
private Boolean enable;
|
|
private Long interval;
|
|
public Boolean getEnable() {
|
return enable;
|
}
|
|
public void setEnable(Boolean enable) {
|
this.enable = enable;
|
}
|
|
public Long getInterval() {
|
return interval;
|
}
|
|
public void setInterval(Long interval) {
|
this.interval = interval;
|
}
|
}
|