php-wechat-sdk/config/wx.php

36 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2019-01-29 05:56:25 +00:00
<?php
return [
/**
* 企业微信的配置
*/
'work' => [
//企业ID
2019-06-11 08:43:08 +00:00
'corp_id' => env('WECHAT_WORK_CORP_ID', 'ww9ed271946b8fc4a4'),
2019-01-29 05:56:25 +00:00
//企业内各个应用的 secrets
2019-02-19 07:58:00 +00:00
'agents' => [
2019-06-11 08:43:08 +00:00
'default' => [
'id' => env('WECHAT_WORK_AGENT_ID'),
'secret' => env('WECHAT_WORK_AGENT_SECRET'),
],
2019-02-19 07:58:00 +00:00
'notify' => [
'id' => '1000015',
2019-02-19 09:06:18 +00:00
'secret' => env('WECHAT_WORK_NOTIFY_SECRET'),
],
'miniprogram' => [
'id' => '1000023',
'secret' => env('WECHAT_WORK_MINI_PROGRAM_SECRET'),
2019-02-19 07:58:00 +00:00
],
// 'contact' => [
// 'id' => '',
// 'secret' => '',
// ],
// 'external_contact' => [
// 'id' => '',
// 'secret' => '',
// ],
// 'miniprogram' => env('WECHAT_WORK_SECRET_MINIPROGRAM'),
// 'contact' => env('WECHAT_WORK_SECRET_CONTACT'),
// 'external_contact' => env('WECHAT_WORK_SECRET_EXTERNAL_CONTACT'),
2019-01-29 05:56:25 +00:00
],
]
];