This commit is contained in:
lwl0608 2024-03-19 16:34:02 +08:00
parent 31a7247337
commit 9bd1c77f4a
1 changed files with 1 additions and 1 deletions

View File

@ -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 {
logger.Error("IncCoins fail, mid: %v, change: %v, err: %v", mid, costCh.GetChange(), err)
return err