PHP企业微信生成agentConfig注入应用的权限
PHP企业微信生成agentConfig注入应用的权限步骤1、调用 wx.agentConfig需要引入 jwxwork sdk<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
2、配置文件:wx.agentConfigwx.agentConfig({
;;corpid: '', // 必填,企业微信的corpid,必须与当前登录的企业一致
;;agentid: '', // 必填,企业微信的应用id (e.g. 1000247)
;;timestamp: , // 必填,生成签名的时间戳
;;nonceStr: '', // 必填,生