|
@@ -39,9 +39,16 @@ public class ClientDetailsInitRunner implements InitializingBean {
|
|
|
|
|
|
private final RedisTemplate redisTemplate;
|
|
|
|
|
|
+
|
|
|
+ @Async
|
|
|
+ @Order
|
|
|
+ @EventListener({ WebServerInitializedEvent.class })
|
|
|
+ public void WebServerInit(){
|
|
|
+ this.initClientDetails();
|
|
|
+ }
|
|
|
@Async
|
|
|
@Order
|
|
|
- @EventListener({ WebServerInitializedEvent.class, ClientDetailsInitEvent.class })
|
|
|
+ @EventListener({ ClientDetailsInitEvent.class })
|
|
|
public void initClientDetails() {
|
|
|
log.debug("初始化客户端信息开始 ");
|
|
|
|