admin

package
v0.0.0-...-7ed5fb6 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserLoginRequest

type UserLoginRequest struct {
	UserName string `form:"username" json:"username" binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
}

type UserRegisterRequest

type UserRegisterRequest struct {
	UserName string `form:"username" json:"username" binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
	Icon     string `form:"icon" json:"icon"`
	Email    string `form:"email" json:"email" binding:"required,email"`
	NickName string `form:"nickName" json:"nickName" binding:"required"`
	Note     string `form:"note" json:"note"`
}

func (*UserRegisterRequest) Convert2Model

func (u *UserRegisterRequest) Convert2Model() *model.UmsAdmin

Jump to

Keyboard shortcuts

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