wx_login_info.go 621 B

12345678910111213141516
  1. package youngee_talent_model
  2. // WxLoginInfo 达人端微信登录后传给服务端的信息
  3. type WxLoginInfo struct {
  4. Code string `json:"code" v:"required#code must not be null"`
  5. Nickname string `json:"nickname" v:"required#nickname must not be null"`
  6. Avatar string `json:"avatar" v:"required#avatar must not be null"`
  7. Gender int `json:"gender" v:"required#gender must not be null"`
  8. }
  9. // LoginResultData 服务端处理完达人登录流程后返回给达人端的信息
  10. type LoginResultData struct {
  11. Token string `json:"token"`
  12. Nickname string `json:"nickname"`
  13. Avatar string `json:"avatar"`
  14. }