diff --git a/app/mix/service/logic/vas.go b/app/mix/service/logic/vas.go index e4ab26de..7e784724 100644 --- a/app/mix/service/logic/vas.go +++ b/app/mix/service/logic/vas.go @@ -2566,8 +2566,8 @@ func (v *Vas) refundMembership(ctx *gin.Context, order *dbstruct.Order, req *vas //} // 有分成的情况 - if len(incomeChList) > 0 { - ch := incomeChList[0] + for _, ch := range incomeChList { + //ch := incomeChList[0] streamerMid := ch.GetMid() if streamerMid <= 0 { err = errors.New("收入streamerMid错误")