修复支付宝查询订单时out_trade_no和trade_no参数是二选一问题

This commit is contained in:
egan
2018-08-31 16:44:23 +08:00
parent eb16feec6b
commit 41811460ff

View File

@@ -457,10 +457,6 @@ public class AliPayService extends BasePayService {
throw new PayErrorException(new PayException("failure", "非法类型异常:" + tradeNoOrBillDate.getClass()));
}
if (!(tradeNoOrBillDate instanceof String)){
throw new PayErrorException(new PayException("failure", "非法类型异常:" + tradeNoOrBillDate.getClass()));
}
//获取公共参数
Map<String, Object> parameters = getPublicParameters(transactionType);
//设置请求参数的集合