test
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user