Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentId, _ = strconv.ParseInt(os.Getenv("AGENT_ID"), 10, 64)
View Source
var CorpId = os.Getenv("CORP_ID")
View Source
var CorpSecret = os.Getenv("CORP_SECRET")
View Source
var GetTokenUrl = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=ID&corpsecret=SECRET"
View Source
var MediaId = os.Getenv("MEDIA_ID")
View Source
var SendMsgUrl = "https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=ACCESS_TOKEN"
Functions ¶
This section is empty.
Types ¶
type ApiRequest ¶
type SimpleRequest ¶
func ParseRequest ¶
func ParseRequest(event map[string]interface{}) (*SimpleRequest, error)
Click to show internal directories.
Click to hide internal directories.