code: private ResponseDTO buildResponse(Object result, int status, Exception error, long traceId) {
          ResponseDTO responseDTO = new ResponseDTO();
          responseDTO.setTraceId(traceId);
          responseDTO.setStatus(status);
          if (result != null) {
              responseDTO.setResult(result);
          }
          if (error != null) {
              responseDTO.setError(error);
          }
          return responseDTO;
      }
docs: 构造返回对象的DTO
  
  @param result
  返回对象结果
  @param status
  返回状态码
  @param error
  错误或者异常信息
  @param traceId
  追踪id
  @return ResponseDTO