30 lines
850 B
Java
30 lines
850 B
Java
package com.njcn.access;
|
|
|
|
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.openfeign.EnableFeignClients;
|
|
import org.springframework.context.annotation.DependsOn;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
/**
|
|
* @author hongawen
|
|
* @version 1.0.0
|
|
* @date 2021年12月09日 20:59
|
|
*/
|
|
@Slf4j
|
|
@DependsOn("proxyMapperRegister")
|
|
@MapperScan("com.njcn.**.mapper")
|
|
@EnableFeignClients(basePackages = "com.njcn")
|
|
@SpringBootApplication(scanBasePackages = "com.njcn")
|
|
@EnableScheduling
|
|
public class AccessBootApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(AccessBootApplication.class, args);
|
|
}
|
|
|
|
}
|