Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
5f80760a
Commit
5f80760a
authored
Jan 11, 2026
by
yangjianbo
Browse files
fix(账号管理): 修复BulkUpdateAccounts方法中的混合渠道检查逻辑缩进
parent
32953405
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/admin_service.go
View file @
5f80760a
...
@@ -991,14 +991,14 @@ func (s *adminServiceImpl) BulkUpdateAccounts(ctx context.Context, input *BulkUp
...
@@ -991,14 +991,14 @@ func (s *adminServiceImpl) BulkUpdateAccounts(ctx context.Context, input *BulkUp
}
}
platform
=
account
.
Platform
platform
=
account
.
Platform
}
}
if
err
:=
s
.
checkMixedChannelRisk
(
ctx
,
accountID
,
platform
,
*
input
.
GroupIDs
);
err
!=
nil
{
if
err
:=
s
.
checkMixedChannelRisk
(
ctx
,
accountID
,
platform
,
*
input
.
GroupIDs
);
err
!=
nil
{
entry
.
Success
=
false
entry
.
Success
=
false
entry
.
Error
=
err
.
Error
()
entry
.
Error
=
err
.
Error
()
result
.
Failed
++
result
.
Failed
++
result
.
FailedIDs
=
append
(
result
.
FailedIDs
,
accountID
)
result
.
FailedIDs
=
append
(
result
.
FailedIDs
,
accountID
)
result
.
Results
=
append
(
result
.
Results
,
entry
)
result
.
Results
=
append
(
result
.
Results
,
entry
)
continue
continue
}
}
}
}
if
err
:=
s
.
accountRepo
.
BindGroups
(
ctx
,
accountID
,
*
input
.
GroupIDs
);
err
!=
nil
{
if
err
:=
s
.
accountRepo
.
BindGroups
(
ctx
,
accountID
,
*
input
.
GroupIDs
);
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment