22 lines
568 B
Go
22 lines
568 B
Go
package structs
|
|
|
|
type WechatConf struct {
|
|
AppId string `json:"appId"`
|
|
AppName string `json:"appName"`
|
|
AppSecret string `json:"appSecret"`
|
|
MsgToken string `json:"msgToken"`
|
|
MsgAesKey string `json:"msgAesKey"`
|
|
}
|
|
|
|
type WechatStableAccessToken struct {
|
|
Appid string `json:"appid"`
|
|
AccessToken string `json:"access_token"`
|
|
ExpiresIn int `json:"expires_in"`
|
|
AccessTokenExpiresAt int64 `json:"access_token_expires_at"`
|
|
}
|
|
|
|
type WechatCommonResp struct {
|
|
Errcode int `json:"errcode"`
|
|
Errmsg string `json:"errmsg"`
|
|
}
|