日志内容意义不明确优化,补充备注。去除一行无效的代码。
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user