package com.dji.sample;

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.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("com.dji.sample.*.dao")
@SpringBootApplication
@EnableScheduling
@ComponentScan("com.dji")
@Slf4j
public class CloudApiSampleApplication {

	public static void main(String[] args) {

		SpringApplication.run(CloudApiSampleApplication.class, args);
		log.info("启动成功=============");
	}

}
