0元付款 报错问题
This commit is contained in:
parent
df1d20b7c3
commit
5a51c83f99
|
|
@ -13,4 +13,7 @@ public class PaySuccessException extends RuntimeException {
|
|||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public PaySuccessException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
|
@ -132,7 +132,7 @@ public class PayServiceImpl implements PayService {
|
|||
//发送打票信息
|
||||
rabbitPublisher.sendOrderPrintMsg(orderInfo.getId().toString(), orderInfo.getIsPrint() == 1);
|
||||
redisService.del(RedisCst.classKeyExpired.EXPIRED_ORDER + orderInfo.getId());
|
||||
throw new PaySuccessException();
|
||||
throw new PaySuccessException("支付成功");
|
||||
}
|
||||
return orderInfo;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue