first commit

This commit is contained in:
Your Name
2026-09-08 11:40:15 +08:00
commit a5353f7eb5
9568 changed files with 1646214 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
<?php
// +----------------------------------------------------------------------
// | 控制台配置
// +----------------------------------------------------------------------
return [
// 指令定义
'commands' => [
// 定时任务
'crontab' => 'app\common\command\Crontab',
// 退款查询
'query_refund' => 'app\common\command\QueryRefund',
// 同步企业微信对外收款
'sync_wechat_work_bills' => 'app\common\command\SyncWechatWorkBills',
'fill_order_creator_from_payee' => 'app\common\command\FillOrderCreatorFromPayee',
// 挂号单状态自动更新(过号->4,超8小时->2
'update_appointment_status' => 'app\common\command\UpdateAppointmentStatus',
// 诊单腾讯云 IM 聊天记录入库归档
'sync_im_chat_archive' => 'app\common\command\SyncImChatArchive',
// 药材库拼音首字母回填(name_pinyin_abbr
'sync_medicine_pinyin_abbr' => 'app\common\command\SyncMedicinePinyinAbbr',
// 物流自动更新
'express:auto-update' => 'app\\command\\ExpressAutoUpdate',
// 同步现有订单快递单号
'express:sync' => 'app\\command\\SyncTrackingNumbers',
// 企业微信客户同步
'qywx:sync-customer' => 'app\\command\\QywxSyncCustomer',
// 一次性回填企微客户 tags 字段(从本地 follow_users JSON 提取,不调企微 API
'qywx:backfill-customer-tags' => 'app\\command\\QywxBackfillCustomerTags',
// 扫描企微客户渠道标签
'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',
'ej-pharmacy:bootstrap-medicines' => 'app\\command\\EjPharmacyBootstrapMedicines',
// 历史 internal_cost:批量甘草预报价回填(CTM_PREVIEW
'tcm:backfill-internal-cost' => 'app\\command\\TcmBackfillPrescriptionOrderInternalCost',
// 批量回填业务订单签收时间到物流库(导出读库即可,不再逐单 HTTP)
'tcm:backfill-sign-time' => 'app\\command\\TcmBackfillPrescriptionOrderSignTime',
// 迁移诊单图片到医生备注表
'migrate:images-to-doctor-note' => 'app\\command\\MigrateImagesToDoctorNote',
// 诊单待办事项:扫描到点的待执行项并向创建人发送企业微信消息
'tcm:diagnosis-todo-notify' => 'app\\command\\DiagnosisTodoNotify',
// 待分配诊单自动指派:按上月二诊复诊接诊率分档轮询分配(>70% 3条/60~70% 2条/50~60% 1条),写自动指派日志
'tcm:auto-assign-pending' => 'app\\command\\AutoAssignPendingDiagnosis',
],
];