123
This commit is contained in:
@@ -179,6 +179,11 @@ public class PayController {
|
||||
if (verifyResult) {
|
||||
String outTradeNo = params.get("out_trade_no");
|
||||
String transactionId = params.get("trade_no");
|
||||
String tradeStatus = params.get("trade_status");
|
||||
if("TRADE_SUCCESS".equals(tradeStatus)){
|
||||
log.error("支付宝非回调成功数据,无需处理!request={}",JSON.toJSONString(request));
|
||||
return "success";
|
||||
}
|
||||
payManager.callBack(outTradeNo,transactionId,params,appId, PayTypeEnum.ALI);
|
||||
return "success";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user