添加多运行环境支持 #14

Open
xiaohai2271 wants to merge 36 commits from feat-multlyEnv#13 into master-old
Showing only changes of commit ec693da079 - Show all commits

View File

@@ -13,7 +13,7 @@ import org.springframework.scheduling.annotation.EnableAsync;
@EnableAsync
@MapperScan("cn.celess.blog.mapper")
public class BlogApplication {
private static ApplicationContext context;
public static ApplicationContext context;
public static void main(String[] args) {
context = SpringApplication.run(BlogApplication.class, args);