user

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(c framework.Container) *Service

func (*Service) DeleteRelativeGroupsToUser

func (s *Service) DeleteRelativeGroupsToUser(request sys.RelativeUserRequest, grpcService contract.ServiceGrpc, param ...interface{}) error

func (*Service) DeleteRelativeRolesToUser

func (s *Service) DeleteRelativeRolesToUser(request sys.RelativeUserRequest, grpcService contract.ServiceGrpc, param ...interface{}) error

func (*Service) GetGroupsByUserId

func (s *Service) GetGroupsByUserId(id string, domain string, grpcService contract.ServiceGrpc, param ...interface{}) ([]map[string]interface{}, error)

func (*Service) GetMenusByUserId

func (s *Service) GetMenusByUserId(uuid string, domain string, grpcService contract.ServiceGrpc, param ...interface{}) ([]map[string]interface{}, error)

func (*Service) GetRepository

func (s *Service) GetRepository() *base.Repository

func (*Service) GetRolesByUserId

func (s *Service) GetRolesByUserId(id string, domain string, grpcService contract.ServiceGrpc, param ...interface{}) ([]map[string]interface{}, error)

func (*Service) GetUserInfo

func (s *Service) GetUserInfo(c *gin.Context) (interface{}, error)

GetUserInfo 获取用户详细信息

func (*Service) GetUsers

func (s *Service) GetUsers()

func (*Service) Login

func (s *Service) Login(request sys.LoginRequest, grpc contract.ServiceGrpc) (interface{}, error)

func (*Service) RelativeGroupsToUser

func (s *Service) RelativeGroupsToUser(request sys.RelativeUserRequest, grpcService contract.ServiceGrpc, param ...interface{}) error

func (*Service) RelativeRolesToUser

func (s *Service) RelativeRolesToUser(request sys.RelativeUserRequest, grpcService contract.ServiceGrpc, param ...interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL