Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShowMoneyService ¶
type ShowMoneyService struct {
Key string `json:"key" form:"key"`
}
func (*ShowMoneyService) Show ¶
func (service *ShowMoneyService) Show(ctx context.Context, uId uint) serializer.Response
type UserLoginService ¶
type UserLoginService struct { UserService CaptchaCode string `form:"captcha_code" json:"captcha_code" binding:"required,len=4"` }
func (*UserLoginService) Login ¶
func (service *UserLoginService) Login(ctx *gin.Context) *serializer.Response
type UserRegisterService ¶
type UserRegisterService struct { UserService NickName string `form:"nick_name" json:"nick_name" binding:"required,min=5,max=8"` RePassword string `form:"re_password" json:"re_password" binding:"required,eqfield=Password"` CaptchaCode string `form:"captcha_code" json:"captcha_code" binding:"required,len=4"` }
func (*UserRegisterService) Register ¶
func (service *UserRegisterService) Register(ctx *gin.Context) *serializer.Response
type UserService ¶
type UserUpdateService ¶
type UserUpdateService struct { UserService NickName string `form:"nick_name" json:"nick_name" binding:"required,min=5,max=8"` CaptchaCode string `form:"captcha_code" json:"captcha_code" binding:"required,len=4"` }
func (*UserUpdateService) Update ¶
func (service *UserUpdateService) Update(ctx context.Context, uId uint) serializer.Response
Click to show internal directories.
Click to hide internal directories.