-
Notifications
You must be signed in to change notification settings - Fork 174
/
responseGetUserInfo.go
46 lines (39 loc) · 1.22 KB
/
responseGetUserInfo.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package response
import (
"github.com/ArtisanCloud/PowerWeChat/v3/src/kernel/response"
)
type ResponseGetUserInfo struct {
response.ResponseOfficialAccount
Subscribe int `json:"subscribe"`
OpenID string `json:"openid"`
Language string `json:"language"`
SubscribeTime int `json:"subscribe_time"`
UnionID string `json:"unionid"`
Remark string `json:"remark"`
GroupID int `json:"groupid"`
TagIDList []int `json:"tagid_list"`
SubscribeScene string `json:"subscribe_scene"`
QrScene int `json:"qr_scene"`
QrSceneStr string `json:"qr_scene_str"`
}
type ResponseBatchGetUserInfo struct {
response.ResponseOfficialAccount
ResponseGetUserInfo []*ResponseGetUserInfo `json:"user_info_list"`
}
type ResponseGetUserList struct {
response.ResponseOfficialAccount
Total int `json:"total"`
Count int `json:"count"`
Data struct {
OpenID []string `json:"openid"`
} `json:"data"`
NextOpenID string `json:"next_openid"`
}
type ResponseChangeOpenID struct {
response.ResponseOfficialAccount
ResultList []struct {
OriOpenid string `json:"ori_openid"`
NewOpenid string `json:"new_openid,omitempty"`
ErrMsg string `json:"err_msg"`
} `json:"result_list"`
}