package com.zksy.environment;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@MapperScan({
        "com.zksy.environment.mapper",
        "com.zksy.base.mapper",
        "com.zksy.system.mapper"
})
@SpringBootApplication(scanBasePackages = {
        "com.zksy.environment", // 默认就会扫描，不写也行
        "com.zksy.api",         // 需要跨模块时再加
        "com.zksy.base.service",
        "com.zksy.system.service",
        "com.zksy.common",
        "com.zksy.utils"
})
public class EnvironmentApplication {
    public static void main(String[] args) {
        SpringApplication.run(EnvironmentApplication.class, args);
        System.out.println("环境服务启动成功");
    }
}
