权限,列表,详情
This commit is contained in:
@@ -92,3 +92,33 @@ func (s *AdminServer) ServiceNames(ctx context.Context, in *admin.ServiceNameReq
|
||||
l := logic.NewServiceNamesLogic(ctx, s.svcCtx)
|
||||
return l.ServiceNames(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AuthorityInfo(ctx context.Context, in *admin.InfoRequest) (*admin.Response, error) {
|
||||
l := logic.NewAuthorityInfoLogic(ctx, s.svcCtx)
|
||||
return l.AuthorityInfo(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AuthorityEdit(ctx context.Context, in *admin.AuthorityEditRequest) (*admin.Response, error) {
|
||||
l := logic.NewAuthorityEditLogic(ctx, s.svcCtx)
|
||||
return l.AuthorityEdit(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AuthorityItems(ctx context.Context, in *admin.AuthorityItemsRequest) (*admin.Response, error) {
|
||||
l := logic.NewAuthorityItemsLogic(ctx, s.svcCtx)
|
||||
return l.AuthorityItems(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AuthorityStatus(ctx context.Context, in *admin.StatusRequest) (*admin.Response, error) {
|
||||
l := logic.NewAuthorityStatusLogic(ctx, s.svcCtx)
|
||||
return l.AuthorityStatus(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AuthorityNames(ctx context.Context, in *admin.AuthorityNameRequest) (*admin.Response, error) {
|
||||
l := logic.NewAuthorityNamesLogic(ctx, s.svcCtx)
|
||||
return l.AuthorityNames(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AuthoritySort(ctx context.Context, in *admin.AuthoritySortRequest) (*admin.Response, error) {
|
||||
l := logic.NewAuthoritySortLogic(ctx, s.svcCtx)
|
||||
return l.AuthoritySort(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user