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