mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-06 04:06:38 +08:00
30 lines
894 B
Java
30 lines
894 B
Java
package net.lab1024.smartadmin;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.cache.annotation.EnableCaching;
|
|
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
/**
|
|
* [ admin 项目启动类 ]
|
|
*
|
|
* @author yandanyang
|
|
* @version 1.0
|
|
* @company 1024lab.net
|
|
* @copyright (c) 2019 1024lab.netInc. All rights reserved.
|
|
* @date
|
|
* @since JDK1.8
|
|
*
|
|
*/
|
|
@SpringBootApplication(scanBasePackages = {"net.lab1024.smartadmin", "cn.afterturn.easypoi"})
|
|
@EnableCaching
|
|
@EnableScheduling
|
|
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
|
|
public class SmartAdminApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(SmartAdminApplication.class, args);
|
|
}
|
|
}
|