From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 十月 2024 15:59:38 +0800
Subject: [PATCH] 代码初始化

---
 server/system_gateway/src/main/java/com/doumee/SystemGatewayApplication.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/server/system_gateway/src/main/java/com/doumee/SystemGatewayApplication.java b/server/system_gateway/src/main/java/com/doumee/SystemGatewayApplication.java
index 361805f..5e2618a 100644
--- a/server/system_gateway/src/main/java/com/doumee/SystemGatewayApplication.java
+++ b/server/system_gateway/src/main/java/com/doumee/SystemGatewayApplication.java
@@ -1,17 +1,21 @@
 package com.doumee;
 
+import org.mybatis.spring.annotation.MapperScan;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
 import org.springframework.context.ApplicationContext;
+import org.springframework.scheduling.annotation.EnableAsync;
 
 /**
  * 鍚姩绫�
  * @author Eva.Caesar Liu
  * @date 2023/03/21 14:49
  */
+@EnableAsync
 @SpringBootApplication
 @EnableDiscoveryClient
+@MapperScan("com.doumee.dao.*")
 public class SystemGatewayApplication {
     public static void main(String[] args) {
         ApplicationContext context = SpringApplication.run(SystemGatewayApplication.class);

--
Gitblit v1.9.3