From f89719902615823be2a1ddc1b5082f52eed31984 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期四, 25 四月 2024 09:11:47 +0800
Subject: [PATCH] 最新版本

---
 server/system_gateway/src/main/java/com/doumee/SystemGatewayApplication.java |    6 ++++++
 1 files changed, 6 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..c32da4a 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,23 @@
 package com.doumee;
 
+import lombok.extern.slf4j.Slf4j;
+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
  */
+@Slf4j
+@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