jiazx0107@163.com
2023-11-18 9e839af387ed50d3a5845b6711af29ea884a1ce6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.fzzy.protocol;
 
import com.fzzy.protocol.weightyh.YhScaleServerEngine;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;
 
/**
 * 配置随系统启动默认配置
 */
@Service
@Slf4j
@Order(value = 3)
public class ProtocolRunner implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
 
        YhScaleServerEngine.start();
 
 
    }
 
}