<feat>修复支付宝网页支付关闭订单问题

已关闭订单收到支付成功回调加入异常订单
This commit is contained in:
renzhiyuan 2026-07-28 15:59:11 +08:00
parent f0d430473f
commit 1011e33ea2
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ func (o *OrderNotify) checkApp() {
} }
func (o *OrderNotify) checkOrder() { func (o *OrderNotify) checkOrder() {
utils.Log(nil, "检查订单状态") utils.Log(nil, "检查订单状态:%d", o.OrderId)
cond := builder.NewCond() cond := builder.NewCond()
cond = cond.And(builder.Eq{"id": o.OrderId}) cond = cond.And(builder.Eq{"id": o.OrderId})
o.order, o.Code = services.OrderFindOne(&ordersmodel.Orders{}, cond) o.order, o.Code = services.OrderFindOne(&ordersmodel.Orders{}, cond)