From 3d6f2cd1483c5e85a3f2eeb2edd89c088d1d5c6b Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期二, 09 五月 2023 22:52:48 +0800 Subject: [PATCH] DEMO初步完成 --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/RuoYiShopApplication.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/RuoYiShopApplication.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/RuoYiShopApplication.java index 65c3ebb..2323020 100644 --- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/RuoYiShopApplication.java +++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/RuoYiShopApplication.java @@ -5,6 +5,8 @@ import com.ruoyi.common.security.annotation.EnableCustomConfig; import com.ruoyi.common.security.annotation.EnableRyFeignClients; import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2; +import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.ComponentScans; /** * 系统模块 @@ -15,6 +17,7 @@ @EnableCustomSwagger2 @EnableRyFeignClients @SpringBootApplication +@ComponentScans(value = {@ComponentScan("com.ruoyi.system.api")}) public class RuoYiShopApplication { public static void main(String[] args) -- Gitblit v1.7.1