广告平台(站长下代理使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 regels
738 B

  1. package md
  2. type LoginReq struct {
  3. UserName string `json:"username" binding:"required" example:"登录账号"`
  4. PassWord string `json:"password" binding:"required" example:"登录密码"`
  5. Code string `json:"code" example:"验证码"`
  6. }
  7. type LoginResponse struct {
  8. Token string `json:"token"`
  9. }
  10. type LoginPhoneReq struct {
  11. UserName string `json:"username" binding:"required" example:"登录账号"`
  12. Captcha string `json:"captcha" binding:"required" example:"验证码"`
  13. }
  14. type RegisterReq struct {
  15. UserName string `json:"username" binding:"required" example:"登录账号"`
  16. Captcha string `json:"captcha" binding:"required" example:"验证码"`
  17. PassWord string `json:"password" binding:"required" example:"登录密码"`
  18. }