mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-02 10:57:10 +08:00
优化:参照 alibaba/easyexcel 配置 P3C(阿里巴巴 Java 开发手册代码规范)代码格式,重新对现有代码执行了格式优化
This commit is contained in:
@@ -38,21 +38,21 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@RestController
|
||||
@SpringBootApplication
|
||||
public class ContinewAdminApplication {
|
||||
|
||||
|
||||
private static Environment env;
|
||||
|
||||
|
||||
@SneakyThrows
|
||||
public static void main(String[] args) {
|
||||
SpringApplication application = new SpringApplication(ContinewAdminApplication.class);
|
||||
ConfigurableApplicationContext context = application.run(args);
|
||||
|
||||
|
||||
env = context.getEnvironment();
|
||||
log.info("------------------------------------------------------");
|
||||
log.info("{} backend service started successfully.", env.getProperty("continew-admin.name"));
|
||||
log.info("后端 API 地址:http://{}:{}", InetAddress.getLocalHost().getHostAddress(), env.getProperty("server.port"));
|
||||
log.info("------------------------------------------------------");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 访问首页提示
|
||||
*
|
||||
|
Reference in New Issue
Block a user