<?php

namespace Modules\User\Providers;

use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Modules\User\Events\UserOrderPaid;
use Modules\User\Events\UserSignReplenishSuccess;
use Modules\User\Events\UserSignSuccess;
use Modules\User\Listeners\UserOrderPaidListeners;
use Modules\User\Listeners\UserSignContinueDays;

class EventServiceProvider extends ServiceProvider
{

    /**
     * The event listener mappings for the application.
     * @var array
     */
    protected $listen = [
        UserSignSuccess::class => [
            UserSignContinueDays::class,
        ],

        //开通身份
        UserOrderPaid::class   => [
            UserOrderPaidListeners::class,
        ],

        UserSignReplenishSuccess::class => [
        ],
    ];

}
