fix price

This commit is contained in:
lwl0608 2024-05-09 20:30:20 +08:00
parent ef3a1dde14
commit f11e7e15ae
1 changed files with 2 additions and 3 deletions

View File

@ -3349,8 +3349,8 @@ func (v *Vas) refundCoinContactWechat(ctx *gin.Context, order *dbstruct.CoinOrde
//}
// 有分成的情况
if len(incomeChList) > 0 {
ch := incomeChList[0]
for _, ch := range incomeChList {
//ch := incomeChList[0]
streamerMid := ch.GetMid()
if streamerMid <= 0 {
err = errors.New("收入streamerMid错误")
@ -3418,7 +3418,6 @@ func (v *Vas) refundCoinContactWechat(ctx *gin.Context, order *dbstruct.CoinOrde
}
}
}
return nil
}