更新
This commit is contained in:
@@ -30,6 +30,8 @@ return [
|
||||
'qywx:scan-media-channel' => 'app\\command\\QywxScanMediaChannel',
|
||||
// 企业微信会话内容存档同步(需开通会话存档 License 并配置 msgaudit_* 相关项 + 动态库)
|
||||
'qywx:sync-msg-archive' => 'app\\command\\QywxSyncMsgArchive',
|
||||
// 获客助手 ChatKey 仅 30 分钟有效,部署时应每分钟执行一次
|
||||
'qywx:retry-customer-acquisition-events' => 'app\\command\\QywxRetryCustomerAcquisitionEvents',
|
||||
// 甘草订单物流路由同步(GET_TASK_ROUTE_LIST)
|
||||
'gancao:sync-logistics' => 'app\\command\\GancaoSyncLogisticsRoute',
|
||||
'ej-pharmacy:sync-catalog' => 'app\\command\\EjPharmacySyncCatalog',
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
// 企业微信获客助手“可调用应用”的 CorpID 与应用 Secret。
|
||||
// 优先使用语义明确的独立配置,兼容复用现有内部应用 Secret。
|
||||
'corp_id' => trim((string) (env('WECHAT_WORK_CORP_ID', '') ?: env('work_wechat.corp_id', ''))),
|
||||
'secret' => trim((string) (
|
||||
env('WECHAT_WORK_CUSTOMER_ACQUISITION_SECRET', '')
|
||||
?: env('work_wechat.customer_acquisition_secret', '')
|
||||
?: env('WECHAT_WORK_AGENT_SECRET', '')
|
||||
?: env('work_wechat.agent_secret', '')
|
||||
?: env('work_wechat.secret', '')
|
||||
)),
|
||||
'base_uri' => 'https://qyapi.weixin.qq.com',
|
||||
'timeout' => 20,
|
||||
// Windows PHP 常未配置系统 CA;使用项目内 CA 文件,仍保持严格证书校验。
|
||||
'verify' => is_file(dirname(__DIR__) . '/cacert.pem') ? dirname(__DIR__) . '/cacert.pem' : true,
|
||||
];
|
||||
Reference in New Issue
Block a user