记得上下班打卡 | git大法好,push需谨慎

Commit 8ff0b928 authored by zhoujianping's avatar zhoujianping

1.支付宝小程序退款接口增加回调地址修改

parent 439cc893
......@@ -617,6 +617,11 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
refundStatus = DragonConstant.RefundStatusEnum.STATUS_REFUNDING.getCode();
}
log.info("支付宝退款成功refundCode{},refundStatus={}",refundCode,refundStatus);
mqHandleUtil.sendMySqlRedis(
SqlMapping.get("dragon_order_refund_success.update"),
new Object[]{nowTime, refundAt, refundStatus, refundCode},
DragonConstant.MysqlRedisQueueEnum.DRAGON_REFUND_KEY.getCode()
);
//支付宝小程序全额退款不会异步通知
if(paymentType.equals(DragonConstant.REFUND_TYPE_APPLET_ALIPAY)){
Map<String, String> notifyMap = new HashMap<String, String>();
......@@ -626,14 +631,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
notifyMap.put("gmt_refund",refundAt);
//手动触发通知
dragonOrderRefundsService.aliPayRefundCallBack(JSON.toJSONString(notifyMap),paymentType);
}else {
mqHandleUtil.sendMySqlRedis(
SqlMapping.get("dragon_order_refund_success.update"),
new Object[]{nowTime, refundAt, refundStatus, refundCode},
DragonConstant.MysqlRedisQueueEnum.DRAGON_REFUND_KEY.getCode()
);
}
} catch (Exception e) {
e.printStackTrace();
channelDto.setResult("exception");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment