From 23bd19bc9987f050d8b002e43958fdcd51f095e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AD=90=E9=93=AD?= Date: Fri, 26 Sep 2025 10:02:04 +0800 Subject: [PATCH] order_notify --- internal/biz/wechat_notify.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, ) }