日志内容意义不明确优化,补充备注。去除一行无效的代码。
This commit is contained in:
parent
8894e5482f
commit
ea1b91af2a
@ -57,7 +57,6 @@ public class PaymentExecute implements OrderStatusChangeEvent {
|
||||
.orderSn(order.getSn())
|
||||
.paymentReceivableNo(order.getReceivableNo())
|
||||
.outOrderNo("AF" + SnowFlake.getIdStr())
|
||||
.outOrderNo("AF" + SnowFlake.getIdStr())
|
||||
.refundReason("订单取消")
|
||||
.build();
|
||||
payment.refund(refundLog);
|
||||
|
@ -28,9 +28,12 @@ public class PaymentServiceImpl implements PaymentService {
|
||||
@Override
|
||||
public void success(PaymentSuccessParams paymentSuccessParams) {
|
||||
|
||||
//支付状态
|
||||
boolean paymentResult = cashierSupport.paymentResult(paymentSuccessParams.getPayParam());
|
||||
|
||||
//已支付则返回
|
||||
if (paymentResult) {
|
||||
log.warn("订单支付状态后,调用支付成功接口,流水号:{}", paymentSuccessParams.getReceivableNo());
|
||||
log.warn("收银台重复收款,流水号:{}", paymentSuccessParams.getReceivableNo());
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user