From f45ec3e11e716a30cca4c7debf45c092aab4cefe Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Mon, 8 Jul 2024 02:00:53 +0800 Subject: [PATCH] fix --- app/mix/service/logic/vas.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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错误")