提供根据ID获取管理员信息
CI / changes (push) Successful in 13s
CI / docker-bff (push) Successful in 2s
CI / docker-product (push) Has been skipped
CI / docker-admin (push) Successful in 31s
CI / docker-user (push) Has been skipped
CI / docker-ad (push) Has been skipped
CI / docker-chore (push) Has been skipped
CI / docker-express (push) Has been skipped
CI / docker-sale (push) Has been skipped

This commit is contained in:
2026-08-28 18:10:34 +08:00
parent 23ea6659c2
commit 2a6cd21ec4
8 changed files with 438 additions and 127 deletions
@@ -177,3 +177,9 @@ func (s *AdminServer) RoleRule(ctx context.Context, in *admin.RoleRuleRequest) (
l := logic.NewRoleRuleLogic(ctx, s.svcCtx)
return l.RoleRule(in)
}
// 传入IDS []int64,返回[]NamesItem{id int64,name string}
func (s *AdminServer) AdminNamesByIds(ctx context.Context, in *admin.AdminNamesByIdsRequest) (*admin.AdminNamesByIdsResponse, error) {
l := logic.NewAdminNamesByIdsLogic(ctx, s.svcCtx)
return l.AdminNamesByIds(in)
}