Merge branch 'dev-lwl/refund_coin_order' into test

This commit is contained in:
lwl0608 2024-05-09 20:30:42 +08:00
commit 48a728c345
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 { for _, ch := range incomeChList {
ch := incomeChList[0] //ch := incomeChList[0]
streamerMid := ch.GetMid() streamerMid := ch.GetMid()
if streamerMid <= 0 { if streamerMid <= 0 {
err = errors.New("收入streamerMid错误") err = errors.New("收入streamerMid错误")
@ -3418,7 +3418,6 @@ func (v *Vas) refundCoinContactWechat(ctx *gin.Context, order *dbstruct.CoinOrde
} }
} }
} }
return nil return nil
} }