| 12345678910111213141516171819202122232425262728 |
- package com.zsElectric.boot.common.xss;
- import lombok.Data;
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import java.util.ArrayList;
- import java.util.List;
- /**
- * xss过滤 配置属性
- *
- * @author Lion Li
- */
- @Data
- @ConfigurationProperties(prefix = "xss")
- public class XssProperties {
- /**
- * Xss开关
- */
- private Boolean enabled;
- /**
- * 排除路径
- */
- private List<String> excludeUrls = new ArrayList<>();
- }
|