wx_login_info.go 471 B

12345678910111213
  1. package 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. Gender int `json:"gender" v:"required#gender must not be null"`
  7. }
  8. // LoginResultData 服务端处理完达人登录流程后返回给达人端的信息
  9. type LoginResultData struct {
  10. Token string `json:"token"`
  11. }