req 副本
This commit is contained in:
parent
e5e73e70b5
commit
17f3a0216f
|
|
@ -220,11 +220,11 @@ func (v *VoucherBiz) request(ctx context.Context, order *bo.OrderBo, orderNotify
|
||||||
return fmt.Errorf("request is nil,orderNo:%s,outBizNo:%s,stockId:%s,err:%s", order.OrderNo, order.OutBizNo, order.BatchNo)
|
return fmt.Errorf("request is nil,orderNo:%s,outBizNo:%s,stockId:%s,err:%s", order.OrderNo, order.OutBizNo, order.BatchNo)
|
||||||
}
|
}
|
||||||
|
|
||||||
*notifyNum += 1
|
|
||||||
|
|
||||||
if _, err = v.CmbMixRepo.Request(ctx, request, order.NotifyUrl); err != nil {
|
if _, err = v.CmbMixRepo.Request(ctx, request, order.NotifyUrl); err != nil {
|
||||||
return fmt.Errorf("orderNo:%s,outBizNo:%s,stockId:%s,err:%s", order.OrderNo, order.OutBizNo, order.BatchNo, err.Error())
|
return fmt.Errorf("orderNo:%s,outBizNo:%s,stockId:%s,err:%s", order.OrderNo, order.OutBizNo, order.BatchNo, err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*notifyNum += 1
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue