Skip to content

Commit 7cfeaa0

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

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
@@ -381,7 +381,7 @@ public Map<String, Object> microPay(PayOrder order) {
381381
JSONObject result = getHttpRequestTemplate().postForObject(getReqUrl() + "?" + UriVariables.getMapToParameters(orderInfo), null, JSONObject.class);
382382
JSONObject response = result.getJSONObject("alipay_trade_pay_response");
383383
if ("10000".equals(response.getString("code"))){
384-
return response;
384+
return result;
385385
}
386386
throw new PayErrorException(new PayException(response.getString("code"), response.getString("msg"), result.toJSONString()));
387387
}

0 commit comments

Comments
 (0)