liusuyi
2025-10-14 3b73313aaf9d1b7532a539b2593298b3bcec31a2
更新forest版本1.8.0
2 files modified
4 ■■■■■ changed files
ard-work/pom.xml 2 ●●●●● patch | view | raw | blame | history
ard-work/src/main/java/com/ard/work/component/forest/MyAddressSource.java 2 ●●●●● patch | view | raw | blame | history
ard-work/pom.xml
@@ -29,7 +29,7 @@
        <dependency>
            <groupId>com.dtflys.forest</groupId>
            <artifactId>forest-spring-boot-starter</artifactId>
            <version>1.5.33</version>
            <version>1.8.0</version>
        </dependency>
        <!-- netty依赖 springboot2.x自动导入版本 -->
ard-work/src/main/java/com/ard/work/component/forest/MyAddressSource.java
@@ -16,7 +16,7 @@
    private IArdServerService ardServerService;
    @Override
    public ForestAddress getAddress(ForestRequest request) {
        String serverKey = (String) request.getVariableValue("serverId");
        String serverKey = request.varAsString("serverId");
        ArdServerInfo serverInfo = ardServerService.selectArdServerManagementById(serverKey);
        // 返回 Forest 地址对象
        return new ForestAddress(serverInfo.getHost(), serverInfo.getHttpPort());