42 lines
1.2 KiB
Go
42 lines
1.2 KiB
Go
|
package wx_helper_sdk
|
||
|
|
||
|
// CommonResponse
|
||
|
// @description: 公共返回
|
||
|
type CommonResponse struct {
|
||
|
Code int `json:"code"`
|
||
|
Msg string `json:"msg"`
|
||
|
Data any `json:"data"`
|
||
|
}
|
||
|
|
||
|
// UserInfo
|
||
|
// @description: 当前用户信息
|
||
|
type UserInfo struct {
|
||
|
Account string `json:"account"`
|
||
|
City string `json:"city"`
|
||
|
Country string `json:"country"`
|
||
|
CurrentDataPath string `json:"currentDataPath"`
|
||
|
DataSavePath string `json:"dataSavePath"`
|
||
|
DbKey string `json:"dbKey"`
|
||
|
HeadImage string `json:"headImage"`
|
||
|
Mobile string `json:"mobile"`
|
||
|
Name string `json:"name"`
|
||
|
Province string `json:"province"`
|
||
|
Signature string `json:"signature"`
|
||
|
Wxid string `json:"wxid"`
|
||
|
}
|
||
|
|
||
|
// Friend
|
||
|
// @description: 朋友信息
|
||
|
type Friend struct {
|
||
|
CustomAccount string `json:"customAccount"`
|
||
|
EncryptName string `json:"encryptName"`
|
||
|
Nickname string `json:"nickname"`
|
||
|
Pinyin string `json:"pinyin"`
|
||
|
PinyinAll string `json:"pinyinAll"`
|
||
|
Reserved1 int `json:"reserved1"`
|
||
|
Reserved2 int `json:"reserved2"`
|
||
|
Type int `json:"type"`
|
||
|
VerifyFlag int `json:"verifyFlag"`
|
||
|
Wxid string `json:"wxid"`
|
||
|
}
|