Closed iexe closed 5 years ago
$app = new \WeWork\App( [ ///企业ID 'corp_id' => 'xxxxxxxxxxxxxxxxxx', //下面的secret是在哪里获取 'secret' => 'fsAQmTHCGvd5ZsRJnkr9jj9aCR2sqOKypAUw6D****',
'agent_id' => 0, //下面的token是在哪里获取 'token' => 'cxvhat5gfJW30J9****, //下面的aes_key是在哪里获取 'aes_key' => 'ULPUgqKDC8LTI1fRJ1jOxHrwbUV2QxR5jnSKrlh****', 'cache' => [ 'path' => __DIR__.'/cache', ], 'log' => [ 'file' => __DIR__.'/log/app.log', 'level' => 'debug', ], ]
);
企业微信后台应用里面
参考官方文档
https://work.weixin.qq.com/api/doc#90000/90135/90665 https://work.weixin.qq.com/api/doc#90000/90135/90930
$app = new \WeWork\App( [ ///企业ID 'corp_id' => 'xxxxxxxxxxxxxxxxxx', //下面的secret是在哪里获取 'secret' => 'fsAQmTHCGvd5ZsRJnkr9jj9aCR2sqOKypAUw6D****',
);