Documentation ¶
Index ¶
- func Get_token(corpid, corpsecret string) (at access_token, err error)
- func Parse(jsonpath string) ([]byte, error)
- func SendWechatMsg(content string, tousers []string, agentid int, corpid string, ...)
- func SendWechatMsgToOne(content string, touser string, agentid int, corpid string, corpsecret string)
- func Send_msg(Access_token string, msgbody []byte) error
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendWechatMsg ¶
Example ¶
//将微信配置写到nacos,通过读取相关配置来发送微信 SendWechatMsg("要发送的内容", []string{"dingyz", "xxxx"}, 1111, "xxx", "xxx")
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.