wecomchan/go-scf/consts/consts.go

19 lines
477 B
Go
Raw Permalink Normal View History

2021-07-04 20:55:34 +08:00
package consts
2021-07-05 01:21:03 +08:00
var (
FUNC_NAME string
SEND_KEY string
WECOM_CID string
WECOM_SECRET string
WECOM_AID string
WECOM_TOUID string
2021-07-04 20:55:34 +08:00
)
// 微信发消息API
const (
// https://work.weixin.qq.com/api/doc/90000/90135/90236
WeComMsgSendURL = "https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=%s"
// https://work.weixin.qq.com/api/doc/90000/90135/91039
2021-07-04 20:55:34 +08:00
WeComAccessTokenURL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=%s&corpsecret=%s"
)