sys_user

package
v0.0.0-...-e5d1c0a Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 11 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 interface {
	GetUserInfo(ctx core.Context, data req.LoginReq) (info *sys_user.SysUser, err error)

	GenerateLoginToken(id int64) (token string)

	GetUserMenu(userId int64, ctx core.Context) ([]model.Menu, error)
	// contains filtered or unexported methods
}

func New

func New(db mysql.Repo, cache redis.Repo) Service

Jump to

Keyboard shortcuts

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