Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserController ¶
func NewUserController(trans ut.Translator, srv service.ServiceFactory) *userServer
Types ¶
type PassWordLoginForm ¶
type PassWordLoginForm struct { Mobile string `form:"mobile" json:"mobile" binding:"required,mobile"` //手机号码格式有规范可寻 PassWord string `form:"password" json:"password" binding:"required,min=3,max=10"` Captcha string `form:"captcha" json:"captcha" binding:"required,min=5,max=5"` CaptchaId string `form:"captcha_id" json:"captcha_id" binding:"required"` }
type RegisterForm ¶
type UpdateUserForm ¶
Click to show internal directories.
Click to hide internal directories.