diff --git a/internal/biz/wechat_notify.go b/internal/biz/wechat_notify.go index f276fb5..32d8bf4 100644 --- a/internal/biz/wechat_notify.go +++ b/internal/biz/wechat_notify.go @@ -56,10 +56,11 @@ func (this *VoucherBiz) getOrder(ctx context.Context, req *bo.WechatVoucherNotif if errors.Is(err, gorm.ErrRecordNotFound) { - return nil, fmt.Errorf("微信回调消费,订单不存在,StockCreatorMchid:%s,StockID:%s,CouponID:%s,CreateTime:%s", + return nil, fmt.Errorf("微信回调消费,订单不存在,StockCreatorMchid:%s,StockID:%s,CouponID:%s,TransactionID:%s,CreateTime:%s", req.PlainText.StockCreatorMchid, req.PlainText.StockID, req.PlainText.CouponID, + req.PlainText.ConsumeInformation.TransactionID, req.PlainText.CreateTime, ) }