From 0a206fc6c66c564aced22ad6b16f6f8be27e2fc7 Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期二, 17 五月 2022 10:35:55 +0800 Subject: [PATCH] 更新加密解密 --- src/main/java/com/whyc/App.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/App.java b/src/main/java/com/whyc/App.java index 994ef37..4adbb54 100644 --- a/src/main/java/com/whyc/App.java +++ b/src/main/java/com/whyc/App.java @@ -3,12 +3,14 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; +import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; @SpringBootApplication(exclude = DataSourceAutoConfiguration.class) @EnableWebMvc +@ServletComponentScan(basePackages = {"com.whyc.filter"}) public class App extends WebMvcConfigurerAdapter implements WebMvcConfigurer { public static void main(String[] args) { SpringApplication.run(App.class, args); -- Gitblit v1.9.1