Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- package md
-
- type LoginReq struct {
- UserName string `json:"username" binding:"required" example:"登录账号"`
- PassWord string `json:"password" binding:"required" example:"登录密码"`
- Code string `json:"code" example:"验证码"`
- }
-
- type LoginResponse struct {
- Token string `json:"token"`
- }
- type LoginPhoneReq struct {
- UserName string `json:"username" binding:"required" example:"登录账号"`
- Captcha string `json:"captcha" binding:"required" example:"验证码"`
- }
- type RegisterReq struct {
- UserName string `json:"username" binding:"required" example:"登录账号"`
- Captcha string `json:"captcha" binding:"required" example:"验证码"`
- PassWord string `json:"password" binding:"required" example:"登录密码"`
- }
|