This commit is contained in:
2026-08-12 10:20:45 +08:00
parent dae0b973c7
commit aa20f9e9f0
22 changed files with 2002 additions and 82 deletions
+35
View File
@@ -68,6 +68,11 @@ func (s *AdminServer) LoginInfo(ctx context.Context, in *admin.AdminEmptyRequest
return l.LoginInfo(in)
}
func (s *AdminServer) LoginRoutes(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
l := logic.NewLoginRoutesLogic(ctx, s.svcCtx)
return l.LoginRoutes(in)
}
func (s *AdminServer) ServiceInfo(ctx context.Context, in *admin.InfoRequest) (*admin.Response, error) {
l := logic.NewServiceInfoLogic(ctx, s.svcCtx)
return l.ServiceInfo(in)
@@ -122,3 +127,33 @@ func (s *AdminServer) AuthoritySort(ctx context.Context, in *admin.AuthoritySort
l := logic.NewAuthoritySortLogic(ctx, s.svcCtx)
return l.AuthoritySort(in)
}
func (s *AdminServer) RoleNames(ctx context.Context, in *admin.RoleNameRequest) (*admin.Response, error) {
l := logic.NewRoleNamesLogic(ctx, s.svcCtx)
return l.RoleNames(in)
}
func (s *AdminServer) RoleInfo(ctx context.Context, in *admin.InfoRequest) (*admin.Response, error) {
l := logic.NewRoleInfoLogic(ctx, s.svcCtx)
return l.RoleInfo(in)
}
func (s *AdminServer) RoleEdit(ctx context.Context, in *admin.RoleEditRequest) (*admin.Response, error) {
l := logic.NewRoleEditLogic(ctx, s.svcCtx)
return l.RoleEdit(in)
}
func (s *AdminServer) RoleItems(ctx context.Context, in *admin.RoleItemsRequest) (*admin.Response, error) {
l := logic.NewRoleItemsLogic(ctx, s.svcCtx)
return l.RoleItems(in)
}
func (s *AdminServer) RoleStatus(ctx context.Context, in *admin.StatusRequest) (*admin.Response, error) {
l := logic.NewRoleStatusLogic(ctx, s.svcCtx)
return l.RoleStatus(in)
}
func (s *AdminServer) RoleRule(ctx context.Context, in *admin.RoleRuleRequest) (*admin.Response, error) {
l := logic.NewRoleRuleLogic(ctx, s.svcCtx)
return l.RoleRule(in)
}