切换主体
This commit is contained in:
parent
6aaf9f3e12
commit
a7f41d1c27
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue