fix
This commit is contained in:
parent
31a7247337
commit
9bd1c77f4a
|
@ -2797,7 +2797,7 @@ func (v *Vas) refundContactWechat(ctx *gin.Context, order *dbstruct.CoinOrder, r
|
||||||
}
|
}
|
||||||
|
|
||||||
// 给用户加回金币
|
// 给用户加回金币
|
||||||
err = v.store.IncCoins(ctx, tx, mid, util.AbsInt64(costCh.GetMid()))
|
err = v.store.IncCoins(ctx, tx, mid, util.AbsInt64(costCh.GetChange()))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error("IncCoins fail, mid: %v, change: %v, err: %v", mid, costCh.GetChange(), err)
|
logger.Error("IncCoins fail, mid: %v, change: %v, err: %v", mid, costCh.GetChange(), err)
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue