mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 20:06:51 +08:00
feat:添加启动成功提示
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.xboe;
|
package com.xboe;
|
||||||
|
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.boot.system.ApplicationPid;
|
import org.springframework.boot.system.ApplicationPid;
|
||||||
@@ -23,11 +24,13 @@ import java.io.IOException;
|
|||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
@EnableDiscoveryClient
|
@EnableDiscoveryClient
|
||||||
@EnableFeignClients(basePackages = {"com.boe.feign.api.*.remote", "com.xboe.api"})
|
@EnableFeignClients(basePackages = {"com.boe.feign.api.*.remote", "com.xboe.api"})
|
||||||
|
@Slf4j
|
||||||
public class BoeServerAllApplication {
|
public class BoeServerAllApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.setProperty("jasypt.encryptor.password", "jasypt");
|
System.setProperty("jasypt.encryptor.password", "jasypt");
|
||||||
SpringApplication.run(BoeServerAllApplication.class, args);
|
SpringApplication.run(BoeServerAllApplication.class, args);
|
||||||
|
log.info("== BOE启动成功 ==");
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
|
|||||||
Reference in New Issue
Block a user