切换主体

This commit is contained in:
ziming 2026-03-26 11:31:55 +08:00
parent 6aaf9f3e12
commit a7f41d1c27
1 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,9 @@ package biz
import ( import (
"context" "context"
"errors"
"fmt" "fmt"
"gorm.io/gorm"
errPb "voucher/api/err" errPb "voucher/api/err"
"voucher/internal/biz/bo" "voucher/internal/biz/bo"
"voucher/internal/biz/vo" "voucher/internal/biz/vo"
@ -18,9 +20,9 @@ func (this *VoucherBiz) WechatNotifyConsumer(ctx context.Context, ip string, req
order, err := this.getOrder(ctx, req) order, err := this.getOrder(ctx, req)
if err != nil { if err != nil {
// 系统订单不存在 // 系统订单不存在
//if errors.Is(err, gorm.ErrRecordNotFound) { if errors.Is(err, gorm.ErrRecordNotFound) {
// return nil return nil
//} }
return err return err
} }