From 6b2622b1a3fda1928edb62e92ef868a5c982849f Mon Sep 17 00:00:00 2001 From: ziming Date: Thu, 12 Jun 2025 15:08:08 +0800 Subject: [PATCH] timeSliceQueryPush --- internal/biz/wechat_notify.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/internal/biz/wechat_notify.go b/internal/biz/wechat_notify.go index 8c288f4..25509df 100644 --- a/internal/biz/wechat_notify.go +++ b/internal/biz/wechat_notify.go @@ -4,7 +4,6 @@ import ( "context" "errors" "fmt" - "github.com/go-kratos/kratos/v2/log" "gorm.io/gorm" errPb "voucher/api/err" "voucher/internal/biz/bo" @@ -76,7 +75,7 @@ func (this *VoucherBiz) getOrder(ctx context.Context, req *bo.WechatVoucherNotif func (v *VoucherBiz) notifyUsed(ctx context.Context, order *bo.OrderBo, req *bo.WechatVoucherNotifyBo) error { if order.Status.IsUse() { - log.Warnf("券状态已是已使用,忽略不处理,orderNo:%s", order.OrderNo) + // 券状态已是已使用,忽略不处理 return nil } @@ -90,7 +89,7 @@ func (v *VoucherBiz) notifyUsed(ctx context.Context, order *bo.OrderBo, req *bo. func (v *VoucherBiz) available(ctx context.Context, order *bo.OrderBo) error { if order.Status.IsSuccess() { - log.Warnf("券状态已是可使用,忽略不处理,orderNo:%s", order.OrderNo) + // 券状态已是可使用,忽略不处理 return nil } @@ -104,7 +103,7 @@ func (v *VoucherBiz) available(ctx context.Context, order *bo.OrderBo) error { func (v *VoucherBiz) expired(ctx context.Context, order *bo.OrderBo) error { if order.Status.IsExpired() { - log.Warnf("券状态已是已过期,忽略不处理,orderNo:%s", order.OrderNo) + // 券状态已是已过期,忽略不处理 return nil }