txlcn-common/src/main/java/com/codingapi/txlcn/common/util/ApplicationInformation.java
public static int serverPort(ServerProperties serverProperties) {
        return Objects.isNull(serverProperties) ? 0 : (Objects.isNull(serverProperties.getPort()) ? 8080 :
                serverProperties.getPort());
    }
public static int serverPort(ServerProperties serverProperties) {
        return Objects.isNull(serverProperties) ? 0 : (Objects.isNull(serverProperties.getPort()) ? 8080 :
                serverProperties.getPort());
    }
public static int serverPort ( ServerProperties serverProperties ) { return Objects . isNull ( serverProperties ) ? 0 : ( Objects . isNull ( serverProperties . getPort ( ) ) ? 8080 : serverProperties . getPort ( ) ) ; }
模块HTTP端口号

@param serverProperties serverProperties
@return int
模块HTTP端口号