@@ -1539,9 +1539,8 @@ func (s *adminServiceImpl) BulkUpdateAccounts(ctx context.Context, input *BulkUp
15391539
15401540 needMixedChannelCheck := input .GroupIDs != nil && ! input .SkipMixedChannelCheck
15411541
1542- // 预加载账号平台信息(混合渠道检查或 Sora 同步需要 )。
1542+ // 预加载账号平台信息(混合渠道检查需要 )。
15431543 platformByID := map [int64 ]string {}
1544- groupAccountsByID := map [int64 ][]Account {}
15451544 if needMixedChannelCheck {
15461545 accounts , err := s .accountRepo .GetByIDs (ctx , input .AccountIDs )
15471546 if err != nil {
@@ -1608,7 +1607,6 @@ func (s *adminServiceImpl) BulkUpdateAccounts(ctx context.Context, input *BulkUp
16081607 // Handle group bindings per account (requires individual operations).
16091608 for _ , accountID := range input .AccountIDs {
16101609 entry := BulkUpdateAccountResult {AccountID : accountID }
1611- platform := ""
16121610
16131611 if input .GroupIDs != nil {
16141612 if err := s .accountRepo .BindGroups (ctx , accountID , * input .GroupIDs ); err != nil {
@@ -1619,9 +1617,6 @@ func (s *adminServiceImpl) BulkUpdateAccounts(ctx context.Context, input *BulkUp
16191617 result .Results = append (result .Results , entry )
16201618 continue
16211619 }
1622- if ! input .SkipMixedChannelCheck && platform != "" {
1623- updateMixedChannelPreloadedAccounts (groupAccountsByID , * input .GroupIDs , accountID , platform )
1624- }
16251620 }
16261621
16271622 entry .Success = true
0 commit comments