public static String getStringForSign(OrderRequest request) {
        Map<String, Object> params = new HashMap<String, Object>();

        // 必选
        params.put("merchantId", request.getMerchantId());
        params.put("requestId", request.getRequestId());
        params.put("keyType", request.getKeyType());
        params.put("time", request.getTime());

        return getNoSign(params, false);
    }
public static String getStringForSign ( OrderRequest request ) { Map < String , Object > params = new HashMap < String , Object > ( ) ; params . put ( "merchantId" , request . getMerchantId ( ) ) ; params . put ( "requestId" , request . getRequestId ( ) ) ; params . put ( "keyType" , request . getKeyType ( ) ) ; params . put ( "time" , request . getTime ( ) ) ; return getNoSign ( params , false ) ; }
计算查询订单请求的待签名字符串
在服务端进行签名的cp，可以将此方法返回的字符串传给自己发服务端进行签名
@param request 查询订单请求