Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
829fc08066
|
@ -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