修改 order 顺序

This commit is contained in:
2023-12-25 14:35:25 +08:00
parent 83d2ee2f3a
commit db77258c13
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ import java.net.InetSocketAddress;
@Slf4j @Slf4j
@Component @Component
@Order(value = 5) @Order(5)
public class MqttSever implements CommandLineRunner { public class MqttSever implements CommandLineRunner {
@Override @Override

View File

@@ -17,7 +17,7 @@ import java.net.InetSocketAddress;
@Slf4j @Slf4j
@Component @Component
@Order(value = 2) @Order(2)
public class NettyServer implements CommandLineRunner { public class NettyServer implements CommandLineRunner {
@Resource @Resource
private NettyServerChannelInitializer nettyServerChannelInitializer; private NettyServerChannelInitializer nettyServerChannelInitializer;

View File

@@ -15,7 +15,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
@Slf4j @Slf4j
@Order(value = 4) @Order(4)
@Component @Component
public class InitializeAdapayConfig implements CommandLineRunner { public class InitializeAdapayConfig implements CommandLineRunner {

View File

@@ -8,7 +8,7 @@ import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order; import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
@Order(value = 3) @Order(3)
@Component @Component
public class WechatPayConfig implements CommandLineRunner { public class WechatPayConfig implements CommandLineRunner {
/** /**