package
Version:
v0.0.0-...-6fe13d1
Opens a new window with list of versions in this module.
Published: Jul 24, 2017
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
func GetAccessTokenFromWeixin()
从微信获取 AccessToken
type AccessToken struct {
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
ErrCode int `json:"errcode"`
ErrMsg string `json:"errmsg"`
}
type Content struct {
Content string `json:"content"`
}
发送信息
type MsgPost struct {
ToUser string `json:"touser"`
MsgType string `json:"msgtype"`
AgentID int `json:"agentid"`
Text Content `json:"text"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.