Springboot-系统启动初始化

@Component
@Order(value = 0)
public class InitSystemConfig implements CommandLineRunner, EnvironmentAware {

private final static Logger LOGGER = LoggerFactory.getLogger(InitSystemConfig.class);

public void run(String... args) throws Exception {
    LOGGER.info("init load args : {}. ", args.length);
}

@Override
public void setEnvironment(Environment environment) { }

}

上一篇:零起点入门系列教程⑥:如何用钉钉宜搭制定企业疫情防控数字化管理方案


下一篇:Java-实现文件的MD5编码获取