You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
3.7 KiB
72 lines
3.7 KiB
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
// +----------------------------------------------------------------------
|
|
// | Author: CRMEB Team <admin@crmeb.com>
|
|
// +----------------------------------------------------------------------
|
|
|
|
// 事件定义文件
|
|
return [
|
|
'bind' => [],
|
|
|
|
'listen' => [
|
|
'AppInit' => [],
|
|
'HttpRun' => [],
|
|
'HttpEnd' => [\crmeb\listens\AppEnd::class],
|
|
'LogLevel' => [],
|
|
'LogWrite' => [],
|
|
'swoole.task' => [\crmeb\listens\SwooleTaskListen::class],
|
|
'swoole.init' => [
|
|
\crmeb\listens\InitSwooleLockListen::class,
|
|
\crmeb\listens\CreateTimerListen::class,
|
|
// \crmeb\listens\QueueListen::class,
|
|
],
|
|
'swoole.workerStart' => [\app\webscoket\SwooleWorkerStart::class],
|
|
'swoole.workerExit' => [\crmeb\listens\SwooleWorkerExitListen::class],
|
|
'swoole.workerError' => [\crmeb\listens\SwooleWorkerExitListen::class],
|
|
'swoole.workerStop' => [\crmeb\listens\SwooleWorkerExitListen::class],
|
|
'create_timer' => env('INSTALLED', false) ? [
|
|
\crmeb\listens\AutoOrderProfitsharingListen::class,
|
|
\crmeb\listens\AuthTakeOrderListen::class,
|
|
\crmeb\listens\AutoCancelGroupOrderListen::class,
|
|
\crmeb\listens\AuthCancelPresellOrderListen::class,
|
|
\crmeb\listens\AutoUnLockBrokerageListen::class,
|
|
\crmeb\listens\AutoSendPayOrderSmsListen::class,
|
|
\crmeb\listens\SyncSmsResultCodeListen::class,
|
|
\crmeb\listens\SyncBroadcastStatusListen::class,
|
|
\crmeb\listens\ExcelFileDelListen::class,
|
|
\crmeb\listens\RefundOrderAgreeListen::class,
|
|
\crmeb\listens\SeckillTImeCheckListen::class,
|
|
\crmeb\listens\AutoOrderReplyListen::class,
|
|
\crmeb\listens\ProductPresellStatusListen::class,
|
|
\crmeb\listens\ProductGroupStatusCheckListen::class,
|
|
\crmeb\listens\SyncSpreadStatusListen::class,
|
|
\crmeb\listens\GuaranteeCountListen::class,
|
|
\crmeb\listens\AutoUnLockIntegralListen::class,
|
|
\crmeb\listens\AutoClearIntegralListen::class,
|
|
\crmeb\listens\MerchantApplyMentsCheckListen::class,
|
|
\crmeb\listens\AutoUnlockMerchantMoneyListen::class,
|
|
\crmeb\listens\SumCountListen::class,
|
|
\crmeb\listens\SyncHotRankingListen::class,
|
|
\crmeb\listens\AuthCancelActivityListen::class,
|
|
\crmeb\listens\CloseUserSvipListen::class,
|
|
\crmeb\listens\SendSvipCouponListen::class,
|
|
// \crmeb\listens\task\CustomizeTask::class,
|
|
] : [],
|
|
'pay_success_user_recharge' => [\crmeb\listens\pay\UserRechargeSuccessListen::class],
|
|
'pay_success_user_order' => [\crmeb\listens\pay\UserOrderSuccessListen::class],
|
|
'pay_success_order' => [\crmeb\listens\pay\OrderPaySuccessListen::class],
|
|
'pay_success_presell' => [\crmeb\listens\pay\PresellPaySuccessListen::class],
|
|
'pay_success_meal' => [\crmeb\listens\pay\MealSuccessListen::class],
|
|
'order.paySuccess' => [\crmeb\listens\pay\CustomizePaySuccess::class],
|
|
'order.take' => [\crmeb\listens\pay\CustomizeTake::class],
|
|
'order.refundAll' => [\crmeb\listens\pay\CustomizeRefundAll::class],
|
|
'order.statistics' => [\crmeb\listens\task\CustomizeTask::class],
|
|
],
|
|
|
|
'subscribe' => [],
|
|
];
|
|
|