// +---------------------------------------------------------------------- // 事件定义文件 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' => [], ];