Skip to content

Commit c35abb1

Browse files
egzosn@gmail.comegzosn@gmail.com
authored andcommitted
支付宝条码付修复
1 parent f65187b commit c35abb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pay-java-ali/src/main/java/com/egzosn/pay/ali/api/AliPayService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public Map<String, Object> microPay(PayOrder order) {
379379
// content.put("biz_content", orderInfo.remove("biz_content"));
380380
//预订单
381381
JSONObject result = getHttpRequestTemplate().postForObject(getReqUrl() + "?" + UriVariables.getMapToParameters(orderInfo), null, JSONObject.class);
382-
JSONObject response = result.getJSONObject("alipay_trade_precreate_response");
382+
JSONObject response = result.getJSONObject("alipay_trade_pay_response");
383383
if ("10000".equals(response.getString("code"))){
384384
return response;
385385
}

0 commit comments

Comments
 (0)