Jerry 6 lat temu
rodzic
commit
56b0121e96
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      wechat_rsp.go

+ 7 - 0
wechat_rsp.go

@@ -212,3 +212,10 @@ type WeChatNotifyRequest struct {
 	Attach             string `xml:"attach"`
 	TimeEnd            string `xml:"time_end"`
 }
+
+type WeChatUserIdRsp struct {
+	Openid     string `json:"openid"`      //用户唯一标识
+	SessionKey string `json:"session_key"` //会话密钥
+	Unionid    string `json:"unionid"`     //用户在开放平台的唯一标识符
+	ExpiresIn  int    `json:"expires_in"`  //
+}