22 lines
731 B
Java
22 lines
731 B
Java
package com.mhd.bms;
|
|
|
|
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.cloud.openfeign.EnableFeignClients;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
|
@SpringBootApplication(scanBasePackages = {"com.mhd"})
|
|
@EnableDiscoveryClient
|
|
@EnableFeignClients(basePackages = {"com.mhd"})
|
|
@MapperScan("com.mhd.bms.domain.**.mapper")
|
|
@EnableAsync
|
|
public class BmsServiceApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(BmsServiceApplication.class, args);
|
|
}
|
|
|
|
}
|