Files
iot/iot-access/access-boot/src/main/java/com/njcn/access/AccessBootApplication.java

30 lines
850 B
Java
Raw Normal View History

2023-03-30 13:12:17 +08:00
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;
2024-10-08 16:30:52 +08:00
import org.springframework.context.annotation.DependsOn;
2023-08-28 16:19:35 +08:00
import org.springframework.scheduling.annotation.EnableScheduling;
2023-03-30 13:12:17 +08:00
/**
* @author hongawen
* @version 1.0.0
* @date 2021年12月09日 20:59
*/
@Slf4j
2024-10-08 16:30:52 +08:00
@DependsOn("proxyMapperRegister")
2023-03-30 13:12:17 +08:00
@MapperScan("com.njcn.**.mapper")
@EnableFeignClients(basePackages = "com.njcn")
@SpringBootApplication(scanBasePackages = "com.njcn")
2023-08-28 16:19:35 +08:00
@EnableScheduling
2023-03-30 13:12:17 +08:00
public class AccessBootApplication {
public static void main(String[] args) {
SpringApplication.run(AccessBootApplication.class, args);
}
}