mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 14:40:44 +00:00
35 lines
570 B
PHP
35 lines
570 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Listeners;
|
||
|
|
|
||
|
|
use App\Models\Shop;
|
||
|
|
use Illuminate\Auth\Events\Registered;
|
||
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||
|
|
use Illuminate\Queue\InteractsWithQueue;
|
||
|
|
|
||
|
|
class UpdateBusinessGoodsStock
|
||
|
|
{
|
||
|
|
protected $shop;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create the event listener.
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function __construct(Shop $shop)
|
||
|
|
{
|
||
|
|
$this->shop = $shop;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Handle the event.
|
||
|
|
*
|
||
|
|
* @param Registered $event
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function handle(Registered $event)
|
||
|
|
{
|
||
|
|
//
|
||
|
|
}
|
||
|
|
}
|