fix in error
This commit is contained in:
parent
561afa8755
commit
2860992cba
|
@ -776,9 +776,10 @@ func (v *Vas) OneStepUnlockContact(ctx *gin.Context, req *vasproto.OneStepUnlock
|
||||||
if originalContactProductId == dbstruct.ProductIdH5ContactWechat {
|
if originalContactProductId == dbstruct.ProductIdH5ContactWechat {
|
||||||
totalDias = uVasInfo.GetWechatCoinPrice()
|
totalDias = uVasInfo.GetWechatCoinPrice()
|
||||||
}
|
}
|
||||||
incomeList, err := v.calcAndUpdateIncome(ctx, tx, uid, mid, req.Did, orderId, contactProductId, totalDias, dbstruct.CHSTypeIncomeContact)
|
incomeList, err1 := v.calcAndUpdateIncome(ctx, tx, uid, mid, req.Did, orderId, contactProductId, totalDias, dbstruct.CHSTypeIncomeContact)
|
||||||
if err != nil {
|
if err1 != nil {
|
||||||
logger.Error("calcAndUpdateIncome fail, coinOrder: %v, err: %v", util.ToJson(coinOrder), err)
|
logger.Error("calcAndUpdateIncome fail, coinOrder: %v, err: %v", util.ToJson(coinOrder), err1)
|
||||||
|
err = err1
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue