Files
water-back/app/Providers/EventServiceProvider.php
2023-01-11 11:00:43 +08:00

33 lines
637 B
PHP

<?php
namespace App\Providers;
use App\Listeners\UserOrderPaidListener;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Modules\User\Events\UserOrderPaid;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
//开通会员
UserOrderPaid::class => [
UserOrderPaidListener::class,
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
//
}
}