fix:支付

This commit is contained in:
momo 2023-09-26 18:20:48 +08:00
parent 1203c087d8
commit 9c08acc97a

View File

@ -714,6 +714,7 @@ func (d *defaultOrder) Detail(ctx context.Context, in *DetailReq) (res *DetailRe
}
// 是否超时支付
if *order.Status == int64(constants.ORDERSTATUSUNPAIDDEPOSIT) {
ctime := *order.Ctime
ctimeTimeOut := ctime.Add(30 * time.Minute).UTC().Unix()
ntimeTimeOut := time.Now().UTC().Unix()
@ -725,6 +726,7 @@ func (d *defaultOrder) Detail(ctx context.Context, in *DetailReq) (res *DetailRe
ErrorCode: errorCode,
}, err
}
}
ress, err := d.OrderDetailHandler(ctx, &order, 1)
if err != nil {