1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?php
- namespace App\Providers;
- use App\Events\AgentAuditServiceEvent;
- use App\Events\OrderPayInfoEvent;
- use App\Events\ReturnGoodLog;
- use App\Events\SendGoodLogEvent;
- use App\Events\WechatMessageEvent;
- use App\Listeners\AgentAuditServiceListener;
- use App\Listeners\OrderPayInfoListener;
- use App\Listeners\ReturnGoodListener;
- use App\Listeners\SendGoodLogListener;
- use App\Listeners\WechatMessageListener;
- use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider;
- class EventServiceProvider extends ServiceProvider
- {
- /**
- * The event listener mappings for the application.
- *
- * @var array
- */
- protected $listen = [
- 'App\Events\ExampleEvent' => [
- 'App\Listeners\ExampleListener',
- ],
- 'App\Events\RegisterApplyEvent' => [
- 'App\Listeners\RegisterApplyListener',
- ],
- 'App\Events\DestoryOrder' => [ // 撤销订单
- 'App\Listeners\DestoryOrderListener',
- ],
- 'App\Events\AgentAuditEvent' => [
- 'App\Listeners\AgentAuditListener',
- ],
- 'App\Events\UserMessageEvent' => [
- 'App\Listeners\UserMessageListener',
- ],
- 'App\Events\SubmitOrdersInfoEvent' => [
- 'App\Listeners\SubmitOrdersInfoListener',
- ],
- 'App\Events\OrderPayEvent' => [
- 'App\Listeners\OrderPayListener',
- ],
- OrderPayInfoEvent::class => [
- OrderPayInfoListener::class
- ],
- 'App\Events\ClientInfoEvent' => [
- 'App\Listeners\ClientInfoListener',
- ],
- AgentAuditServiceEvent::class=>[
- AgentAuditServiceListener::class
- ],
- // WechatMessageEvent::class=>[
- // WechatMessageListener::class,
- // ],
- 'App\Events\AuthRefundTip' => [
- 'App\Listeners\AuthRefundTipListeners',
- ],
- 'App\Events\RetailOutboundEvent' => [
- 'App\Listeners\RetailOutboundListener',
- ],
- 'App\Events\RestoreOutboundEvent' => [
- 'App\Listeners\RestoreOutboundListener',
- ],
- 'App\Events\ReceivingEvent' => [
- 'App\Listeners\ReceivingListener',
- ],
- 'App\Events\TipSendingEvent' => [
- 'App\Listeners\TipSendingListener',
- ],
- 'App\Events\CancelOrderEvent' => [
- 'App\Listeners\CancelOrderListener',
- ],
- 'App\Events\NewOrder' => [
- 'App\Listeners\NewOrderListeners',
- ],
- 'App\Events\HelpOrderEvent' => [
- 'App\Listeners\HelpOrderListener',
- ],
- 'App\Events\FinishAccount' => [
- 'App\Listeners\FinishAccountListeners',
- ],
- SendGoodLogEvent::class=>[
- SendGoodLogListener::class
- ],
- ReturnGoodLog::class=>[
- ReturnGoodListener::class
- ],
- 'App\Events\EnoughFive' => [
- 'App\Listeners\EnoughFiveListeners',
- ],
- ];
- }
|