go-common/app/service/main/vip/model/associate_open.go
2019-04-22 02:59:20 +00:00

34 lines
624 B
Go

package model
// ArgRegisterOpenID add open_id args.
type ArgRegisterOpenID struct {
Mid int64
AppID int64
}
// RegisterOpenIDResp register openid resp.
type RegisterOpenIDResp struct {
OpenID string
}
// ArgOpenAuthCallBack callback args.
type ArgOpenAuthCallBack struct {
Mid int64
ThirdCode string
AppID int64
}
// ArgUserInfoByOpenID args.
type ArgUserInfoByOpenID struct {
AppID int64
OpenID string
IP string
}
// UserInfoByOpenIDResp resp.
type UserInfoByOpenIDResp struct {
Name string `json:"name"`
BindState int32 `json:"bind_state"`
OutOpenID string `json:"out_open_id"`
}