初始化仓库
This commit is contained in:
19
common/handlers/BaseProductOrderHandler.php
Normal file
19
common/handlers/BaseProductOrderHandler.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
namespace common\handlers;
|
||||
|
||||
use common\core\BaseModel;
|
||||
use common\events\ProductOrderEvent;
|
||||
|
||||
/**
|
||||
* @property ProductOrderEvent $event
|
||||
*/
|
||||
abstract class BaseProductOrderHandler extends BaseModel
|
||||
{
|
||||
public $event;
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
* 事件处理
|
||||
*/
|
||||
abstract public function handle();
|
||||
}
|
||||
Reference in New Issue
Block a user