[AGENT][INIT] 修复Agent启动的Bug
This commit is contained in:
@@ -4,8 +4,8 @@ import io.wdd.func.xray.beans.node.ProxyNode;
|
||||
import io.wdd.func.xray.beans.node.ProxyNodeType;
|
||||
import io.wdd.func.xray.beans.node.XrayConfigInfo;
|
||||
import io.wdd.server.beans.vo.ServerInfoVO;
|
||||
import io.wdd.server.coreService.CoreAppService;
|
||||
import io.wdd.server.coreService.CoreServerService;
|
||||
import io.wdd.server.service.AppInfoService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@@ -20,6 +20,7 @@ import static io.wdd.rpc.init.AcceptAgentInitInfo.ALL_SERVER_CITY_INDEX;
|
||||
|
||||
/**
|
||||
* 为Xray Config信息 操作数据库而创建
|
||||
* todo 初期只需要记录构建过的路径(MySQL), 后期如此复杂的网路可以考虑上图数据库Neo4j
|
||||
*/
|
||||
@Service
|
||||
@Slf4j
|
||||
@@ -29,7 +30,7 @@ public class XrayDBOperator {
|
||||
CoreServerService coreServerService;
|
||||
|
||||
@Resource
|
||||
AppInfoService appInfoService;
|
||||
CoreAppService coreAppService;
|
||||
|
||||
@PostConstruct
|
||||
public void cache() {
|
||||
|
||||
Reference in New Issue
Block a user