1
This commit is contained in:
@@ -79,7 +79,10 @@ func onTTPayFinished(msg *tiktok.DetailCallBackMessage) (err error) {
|
|||||||
} else {
|
} else {
|
||||||
orderPay.Status = model.PayStatusFailed
|
orderPay.Status = model.PayStatusFailed
|
||||||
}
|
}
|
||||||
dao.UpdateEntity(db, &orderPay)
|
num, err := dao.UpdateEntity(db, &orderPay)
|
||||||
|
globals.SugarLogger.Debug("退款回调==================err", err)
|
||||||
|
globals.SugarLogger.Debug("退款回调==================err", num)
|
||||||
|
|
||||||
if msg.Status == tiktok.ResponseCodeSuccess {
|
if msg.Status == tiktok.ResponseCodeSuccess {
|
||||||
err = OnPayFinished(orderPay)
|
err = OnPayFinished(orderPay)
|
||||||
}
|
}
|
||||||
@@ -160,4 +163,3 @@ func RefundOrderByTT(ctx *jxcontext.Context, orderPay *model.OrderPay, refundID
|
|||||||
}
|
}
|
||||||
return orderPayRefund, err
|
return orderPayRefund, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user