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 {
|
||||
totalDias = uVasInfo.GetWechatCoinPrice()
|
||||
}
|
||||
incomeList, err := v.calcAndUpdateIncome(ctx, tx, uid, mid, req.Did, orderId, contactProductId, totalDias, dbstruct.CHSTypeIncomeContact)
|
||||
if err != nil {
|
||||
logger.Error("calcAndUpdateIncome fail, coinOrder: %v, err: %v", util.ToJson(coinOrder), err)
|
||||
incomeList, err1 := v.calcAndUpdateIncome(ctx, tx, uid, mid, req.Did, orderId, contactProductId, totalDias, dbstruct.CHSTypeIncomeContact)
|
||||
if err1 != nil {
|
||||
logger.Error("calcAndUpdateIncome fail, coinOrder: %v, err: %v", util.ToJson(coinOrder), err1)
|
||||
err = err1
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue