From 276637363293e85b5ab3cdc9f5c16c3e3b823b78 Mon Sep 17 00:00:00 2001 From: 648540858 <18010473990@163.com> Date: 星期日, 26 九月 2021 11:45:03 +0800 Subject: [PATCH] 修复默认media未保存到数据库的bug --- src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java index 027efaf..56038bd 100644 --- a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java +++ b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java @@ -4,6 +4,7 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.scheduling.annotation.EnableScheduling; import springfox.documentation.oas.annotations.EnableOpenApi; @@ -11,6 +12,7 @@ /** * */ +@ServletComponentScan("com.genersoft.iot.vmp.conf") @SpringBootApplication @EnableScheduling @EnableOpenApi -- Gitblit v1.8.0