// Code generated by goctl. DO NOT EDIT. package types type WXLoginResponse struct { OpenID string `json:"openid"` SessionKey string `json:"session_key"` UnionID string `json:"unionid"` ErrCode int `json:"errcode"` ErrMsg string `json:"errmsg"` } type Watermark struct { AppID string `json:"appid"` TimeStamp int64 `json:"timestamp"` } type WXUserInfo struct { OpenID string `json:"openId,omitempty"` SessionKey string `json:"SessionKey"` NickName string `json:"nickName"` AvatarUrl string `json:"avatarUrl"` Gender int64 `json:"gender"` Country string `json:"country"` Province string `json:"province"` City string `json:"city"` UnionID string `json:"unionId,omitempty"` Language string `json:"language"` Watermark Watermark `json:"watermark,omitempty"` } type ResUserInfo struct { UserInfo WXUserInfo `json:"userInfo"` RawData string `json:"rawData"` Signature string `json:"signature"` EncryptedData string `json:"encryptedData"` IV string `json:"iv"` } type LoginByWeixinRequest struct { Code string `json:"code"` } type AuthUserInfo struct { ID int64 `json:"id"` Mobile string `json:"mobile"` UserName string `json:"username"` NickName string `json:"nickname"` Gender int64 `json:"gender"` Avatar string `json:"avatar"` Birthday int64 `json:"birthday"` } type LoginByWeixinResponse struct { Token string `json:"token"` UserInfo AuthUserInfo `json:"userInfo"` } type JzQrcodeResponse struct { Id int64 `json:"id"` FileId string `json:"fileId"` } type BindMobileRequest struct { Iv string `json:"iv"` EncryptedData string `json:"encryptedData"` } type BindMobileResponse struct { Id int64 `json:"id"` } type InfoResponse struct { ID int64 `json:"id"` Mobile string `json:"mobile"` UserName string `json:"username"` NickName string `json:"nickname"` Gender int64 `json:"gender"` Avatar string `json:"avatar"` Birthday int64 `json:"birthday"` ErpRoleType int64 `json:"erpRoleType"` }