yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.qianwen.smartman;
 
import com.dtflys.forest.springboot.annotation.ForestScan;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import com.qianwen.core.launch.BladeApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
 
@EnableScheduling
@SpringBootApplication(exclude = {MongoAutoConfiguration.class})
//@ForestScan(basePackages = {"org.springblade.modules.dnc.forestClient", "org.springblade.modules.fms.forestClient", "org.springblade.modules.perf.forestClient"})
 
@ForestScan(basePackages = {"com.qianwen.modules.dnc.forestClient", "com.qianwen.modules.fms.forestClient", "com.qianwen.modules.perf.forestClient"})
@EnableAsync
@EnableAdminServer
public class Application {
  public static void main(String[] args) {
    BladeApplication.run("blade-api", Application.class, args);
  }
}