-
Notifications
You must be signed in to change notification settings - Fork 165
/
responseAccount.go
44 lines (37 loc) · 1.51 KB
/
responseAccount.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
package response
import "github.com/ArtisanCloud/PowerWeChat/v3/src/kernel/response"
type WXVerifyInfo struct {
QualificationVerify bool `json:"qualification_verify"`
NamingVerify bool `json:"naming_verify"`
}
type SignatureInfo struct {
Signature string `json:"signature"`
ModifyUsedCount int `json:"modify_used_count"`
ModifyQuota int `json:"modify_quota"`
}
type HeadImageInfo struct {
HeadImageUrl string `json:"head_image_url"`
ModifyUsedCount int `json:"modify_used_count"`
ModifyQuota int `json:"modify_quota"`
}
type NickNameInfo struct {
NickName string `json:"nickname"`
ModifyUsedCount int `json:"modify_used_count"`
ModifyQuota int `json:"modify_quota"`
}
type ResponseGetBasicInfo struct {
response.ResponseOpenPlatform
AppID string `json:"appid"`
AccountType int `json:"account_type"`
PrincipalType int `json:"principal_type"`
PrincipalName string `json:"principal_name"`
RealNameStatus int `json:"realname_status"`
WXVerifyInfo *WXVerifyInfo `json:"wx_verify_info"`
SignatureInfo *SignatureInfo `json:"signature_info"`
HeadImageInfo *HeadImageInfo `json:"head_image_info"`
NickName string `json:"nickname"`
RegisteredCountry int `json:"registered_country"`
NickNameInfo *NickNameInfo `json:"nickname_info"`
Credential string `json:"credential"`
CustomerType int `json:"customer_type"`
}