mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-21 07:04:45 +08:00
fix: remove dead code in BulkUpdateAccounts group binding loop
This commit is contained in:
@@ -1370,9 +1370,8 @@ func (s *adminServiceImpl) BulkUpdateAccounts(ctx context.Context, input *BulkUp
|
|||||||
|
|
||||||
needMixedChannelCheck := input.GroupIDs != nil && !input.SkipMixedChannelCheck
|
needMixedChannelCheck := input.GroupIDs != nil && !input.SkipMixedChannelCheck
|
||||||
|
|
||||||
// 预加载账号平台信息(混合渠道检查或 Sora 同步需要)。
|
// 预加载账号平台信息(混合渠道检查需要)。
|
||||||
platformByID := map[int64]string{}
|
platformByID := map[int64]string{}
|
||||||
groupAccountsByID := map[int64][]Account{}
|
|
||||||
if needMixedChannelCheck {
|
if needMixedChannelCheck {
|
||||||
accounts, err := s.accountRepo.GetByIDs(ctx, input.AccountIDs)
|
accounts, err := s.accountRepo.GetByIDs(ctx, input.AccountIDs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user