<?php
// 事件定义文件
use app\common\listener\NoticeListener;
use app\common\listener\PropertyCommissionListener;
use app\common\listener\ReverseCouponToActivityListener;

return [
    'bind'      => [
    ],

    'listen'    => [
        'AppInit'  => [],
        'HttpRun'  => [],
        'HttpEnd'  => [],
        'LogLevel' => [],
        'LogWrite' => [],

        // 通知
        'Notice' => [NoticeListener::class],
        // 物业分成
        'PropertyCommission' => [PropertyCommissionListener::class],
        // 优惠券逆向为活动工单+代理订单
        'ReverseCouponToActivity' => [ReverseCouponToActivityListener::class],
    ],

    'subscribe' => [
    ],
];
