修改 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
@Component
@Order(value = 5)
@Order(5)
public class MqttSever implements CommandLineRunner {
@Override

View File

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

View File

@@ -15,7 +15,7 @@ import java.util.List;
import java.util.Map;
@Slf4j
@Order(value = 4)
@Order(4)
@Component
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.stereotype.Component;
@Order(value = 3)
@Order(3)
@Component
public class WechatPayConfig implements CommandLineRunner {
/**