智盟项目
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.

19 lines
480 B

  1. package md
  2. type LoginReq struct {
  3. UserName string `json:"username" binding:"required" label:"登录账号"`
  4. PassWord string `json:"password" binding:"required" label:"登录密码"`
  5. }
  6. type LoginResponse struct {
  7. Token string `json:"token"`
  8. }
  9. type Register struct {
  10. Mobile string `json:"mobile"`
  11. Captcha string `json:"captcha"`
  12. Type string `json:"type"`
  13. Zone string `json:"zone"`
  14. PicCode string `json:"pic_code"`
  15. PicCodeId string `json:"pic_code_id"`
  16. }