mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-09 12:36:16 +08:00
支付宝条码付修复
This commit is contained in:
@@ -381,7 +381,7 @@ public class AliPayService extends BasePayService {
|
||||
JSONObject result = getHttpRequestTemplate().postForObject(getReqUrl() + "?" + UriVariables.getMapToParameters(orderInfo), null, JSONObject.class);
|
||||
JSONObject response = result.getJSONObject("alipay_trade_pay_response");
|
||||
if ("10000".equals(response.getString("code"))){
|
||||
return response;
|
||||
return result;
|
||||
}
|
||||
throw new PayErrorException(new PayException(response.getString("code"), response.getString("msg"), result.toJSONString()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user