diff --git a/app/services/thirdpay/thirdpay_notify/notify.go b/app/services/thirdpay/thirdpay_notify/notify.go index 3393b88..aa91184 100644 --- a/app/services/thirdpay/thirdpay_notify/notify.go +++ b/app/services/thirdpay/thirdpay_notify/notify.go @@ -12,6 +12,7 @@ import ( "PaymentCenter/app/services" "PaymentCenter/app/utils" "PaymentCenter/app/utils/httpclient" + "fmt" "time" "github.com/bytedance/sonic" @@ -227,7 +228,7 @@ func (o *OrderNotify) checkOrder() { OrderId: o.order.Id, OutTradeNo: o.order.OutTradeNo, ExceptionType: data.OrderStatusOverButPaySuccess.ToInt(), - ExceptionDesc: data.OrderStatusOverButPaySuccess.GetDesc(), + ExceptionDesc: fmt.Sprintf("%s:%s:%d", data.OrderStatusOverButPaySuccess.GetDesc(), "当前状态为", o.order.Status), CreateTime: time.Now(), Status: o.order.Status, })