Documentation ¶
Index ¶
- type UserService
- func (service *UserService) AddLoginLog(userLoginLog user.UserLoginLog) error
- func (service *UserService) IsUsernameExists(usernameType, username string) (bool, error)
- func (service *UserService) Login(usernameType, username, pwd string) (*user.User, error)
- func (service *UserService) Register(loginMethod string, user user.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct{}
func (*UserService) AddLoginLog ¶
func (service *UserService) AddLoginLog(userLoginLog user.UserLoginLog) error
添加用户登录日志
func (*UserService) IsUsernameExists ¶
func (service *UserService) IsUsernameExists(usernameType, username string) (bool, error)
查询用户名是否已被注册
Click to show internal directories.
Click to hide internal directories.