code: public static boolean checkSign(OrderResult result, String pubKey) {
  
          if (result == null || pubKey == null) {
              return false;
          }
  
          Map<String, Object> paramsa = new HashMap<String, Object>();
          //必选参数
          paramsa.put("returnCode", result.getReturnCode());
          paramsa.put("returnDesc", result.getReturnDesc());
  
          //可选参数
          paramsa.put("requestId", result.getRequestId());
          paramsa.put("orderID", result.getOrderID());
          paramsa.put("status", result.getOrderStatus());
          paramsa.put("orderTime", result.getOrderTime());
          paramsa.put("tradeTime", result.getTradeTime());
  
          String noSignStr = getNoSign(paramsa, false);
          return doCheck(noSignStr, result.getSign(), pubKey);
      }
docs: 对查询订单结果签名进行校验
  @param result 查询订单结果
  @param pubKey 公钥
  @return 是否校验通过