Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type RegisterUserVO ¶
type UserInfoDTO ¶
type UserService ¶
type UserService interface { // 登录接口 Login(ctx context.Context, email, password string) (*UserInfoDTO, error) // 注册接口 Register(ctx context.Context, vo *RegisterUserVO) (*UserInfoDTO, error) }
func MakeUserServiceImpl ¶
func MakeUserServiceImpl(userDAO dao.UserDAO) UserService
type UserServiceImpl ¶
type UserServiceImpl struct {
// contains filtered or unexported fields
}
func (*UserServiceImpl) Login ¶
func (userService *UserServiceImpl) Login(ctx context.Context, email, password string) (*UserInfoDTO, error)
func (UserServiceImpl) Register ¶
func (userService UserServiceImpl) Register(ctx context.Context, vo *RegisterUserVO) (*UserInfoDTO, error)
Click to show internal directories.
Click to hide internal directories.