请求参数表达式匹配错误,错误的使用String.format

This commit is contained in:
egzosn
2019-01-05 15:16:10 +08:00
parent b1157f2691
commit c4fb53c416

View File

@@ -242,6 +242,7 @@ public class PayPalPayService extends BasePayService<PayPalConfigStorage>{
* @param totalAmount 总金额
* @return 返回支付方申请退款后的结果
* @see #refund(RefundOrder)
* @deprecated {@link #refund(RefundOrder)}
*/
@Deprecated
@Override
@@ -272,8 +273,6 @@ public class PayPalPayService extends BasePayService<PayPalConfigStorage>{
httpEntity.setHeaders(authHeader());
JSONObject resp = getHttpRequestTemplate().postForObject(getReqUrl(PayPalTransactionType.REFUND), httpEntity, JSONObject.class, refundOrder.getTradeNo());
return resp;
//
// return null;
}
/**
* 查询退款