获取微信企业的corpID,sercret,access_token,部门设置列表
zabbix调用微信发短信可能用到的一些变量,获取方式如下:
1.corpID(公司ID)
在我的企业--企业信息 中

2.管理组凭证密钥(公司sercret)
企业应用中,你的自建应用,点解进去,会看到appid和管理凭证密钥(corpsecret)
3.获取access_token
打开http://qydev.weixin.qq.com/debug,填写如下图,下边用到的corpid和corpsecret查看上方的资料


4.获取组织的部门设置列表和id号
打开http://qydev.weixin.qq.com/debug,通过微信接口调试工具获取部门id,access_token如上所示:
