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
|
||||
}
|
||||
|
||||
product, err3 := v.ProductRepo.GetByProductNo(ctx, bizContent.ActivityId)
|
||||
ctx2 := context.Background()
|
||||
|
||||
product, err3 := v.ProductRepo.GetByProductNo(ctx2, bizContent.ActivityId)
|
||||
if err3 != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
order, err := v.Order(ctx, product, bizContent)
|
||||
order, err := v.Order(ctx2, product, bizContent)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue