user.open.id.set.go 367 B

12345678910111213
  1. package user
  2. type OpenIdSetRequest struct {
  3. Code string `json:"code"` //微信code
  4. OpenId string `json:"openId"` //邀请好友的openId
  5. }
  6. type OpenIdSetResponse struct {
  7. SessionKey string `json:"session_key,omitempty"`
  8. OpenId string `json:"openid,omitempty"`
  9. Errcode int `json:"errcode,omitempty"`
  10. Errmsg string `json:"errmsg,omitempty"`
  11. }