From 823d625c8c3cfd44925880038d06bc011d68a328 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期四, 16 二月 2023 09:19:48 +0800 Subject: [PATCH] 配置修改 --- ycl-common/src/main/java/com/ycl/config/IgnoreUrlsConfig.java | 42 ++++++++++++++++++++++-------------------- 1 files changed, 22 insertions(+), 20 deletions(-) diff --git a/ycl-common/src/main/java/com/ycl/config/IgnoreUrlsConfig.java b/ycl-common/src/main/java/com/ycl/config/IgnoreUrlsConfig.java index 9faa8e3..03a9baf 100644 --- a/ycl-common/src/main/java/com/ycl/config/IgnoreUrlsConfig.java +++ b/ycl-common/src/main/java/com/ycl/config/IgnoreUrlsConfig.java @@ -1,20 +1,22 @@ -package com.ycl.config; - -import lombok.Getter; -import lombok.Setter; -import org.springframework.boot.context.properties.ConfigurationProperties; - -import java.util.ArrayList; -import java.util.List; - -/** - * 鐢ㄤ簬閰嶇疆鐧藉悕鍗曡祫婧愯矾寰� - */ -@Getter -@Setter -@ConfigurationProperties(prefix = "secure.ignored") -public class IgnoreUrlsConfig { - - private List<String> urls = new ArrayList<>(); - -} +package com.ycl.config; + +import lombok.Getter; +import lombok.Setter; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.stereotype.Component; + +import java.util.ArrayList; +import java.util.List; + +/** + * 鐢ㄤ簬閰嶇疆鐧藉悕鍗曡祫婧愯矾寰� + */ +@Getter +@Setter +@Component +@ConfigurationProperties(prefix = "secure.ignored") +public class IgnoreUrlsConfig { + + private List<String> urls = new ArrayList<>(); + +} -- Gitblit v1.8.0