- AdminApplication 改为 SystemApplication

This commit is contained in:
sin 2019-05-11 09:13:54 +08:00
parent 5e23c138e1
commit a80b98d997

View File

@ -7,10 +7,10 @@ import org.springframework.scheduling.annotation.EnableAsync;
@SpringBootApplication(scanBasePackages = {"cn.iocoder.mall.admin"})
@EnableAsync(proxyTargetClass = true)
public class AdminApplication {
public class SystemApplication {
public static void main(String[] args) {
ConfigurableApplicationContext ctx = SpringApplication.run(AdminApplication.class, args);
ConfigurableApplicationContext ctx = SpringApplication.run(SystemApplication.class, args);
// Object bean = ctx.getBean("test");
// System.out.println(AopUtils.getTargetClass(bean));