code: public static int serverPort(ServerProperties serverProperties) {
          return Objects.isNull(serverProperties) ? 0 : (Objects.isNull(serverProperties.getPort()) ? 8080 :
                  serverProperties.getPort());
      }
docs: 模块HTTP端口号
  
  @param serverProperties serverProperties
  @return int