package com.tourism.webadmin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 应用服务启动类。
 *
 * @author 吃饭睡觉
 * @date 2024-09-06
 */
@EnableAsync
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//@MapperScan("com.tourism.webadmin.app.website.dao")
//@MapperScan({"com.tourism.back.dao.mapper","com.tourism.upms.dao.mapper"})
@ComponentScan("com.tourism")
public class WebAdminApplication {

	public static void main(String[] args) {
		SpringApplication.run(WebAdminApplication.class, args);
	}
}
