mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-02 18:46:29 +00:00
fix 注册支付超时任务判定出错
This commit is contained in:
@@ -42,8 +42,8 @@ public class PayOrderService {
|
||||
*/
|
||||
public void save(PayOrder payOrder){
|
||||
payOrderManager.save(payOrder);
|
||||
// TODO 钱包支付不需要注册超时任务
|
||||
if (Objects.equals(payOrder.getChannel(), PayChannelEnum.WALLET.getCode())){
|
||||
// 钱包支付不需要注册超时任务
|
||||
if (!Objects.equals(payOrder.getChannel(), PayChannelEnum.WALLET.getCode())){
|
||||
expiredTimeService.registerExpiredTime(payOrder);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user