提供根据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
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user