From 17f3a0216f15dde1c68af009ffe89018fbac94c4 Mon Sep 17 00:00:00 2001 From: ziming Date: Tue, 17 Jun 2025 09:27:38 +0800 Subject: [PATCH] =?UTF-8?q?req=20=E5=89=AF=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/biz/cron_notice.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/biz/cron_notice.go b/internal/biz/cron_notice.go index 52cd19d..abfe8de 100644 --- a/internal/biz/cron_notice.go +++ b/internal/biz/cron_notice.go @@ -220,11 +220,11 @@ func (v *VoucherBiz) request(ctx context.Context, order *bo.OrderBo, orderNotify return fmt.Errorf("request is nil,orderNo:%s,outBizNo:%s,stockId:%s,err:%s", order.OrderNo, order.OutBizNo, order.BatchNo) } - *notifyNum += 1 - if _, err = v.CmbMixRepo.Request(ctx, request, order.NotifyUrl); err != nil { return fmt.Errorf("orderNo:%s,outBizNo:%s,stockId:%s,err:%s", order.OrderNo, order.OutBizNo, order.BatchNo, err.Error()) } + *notifyNum += 1 + return nil }