chang code
This commit is contained in:
parent
07641871f2
commit
4fb8ddfc2d
|
|
@ -38,12 +38,14 @@ func (v *VoucherBiz) cmbOrder(ctx context.Context, request *v1.CmbRequest) (*bo.
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
product, err3 := v.ProductRepo.GetByProductNo(ctx, bizContent.ActivityId)
|
ctx2 := context.Background()
|
||||||
|
|
||||||
|
product, err3 := v.ProductRepo.GetByProductNo(ctx2, bizContent.ActivityId)
|
||||||
if err3 != nil {
|
if err3 != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
order, err := v.Order(ctx, product, bizContent)
|
order, err := v.Order(ctx2, product, bizContent)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue