You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
11 months ago
|
<?php
|
||
|
/**
|
||
|
* 事件定义文件
|
||
|
* 注:此处定义的定时任务, 执行句柄在 app/timer/controller/Store.php
|
||
|
*/
|
||
|
return [
|
||
|
'bind' => [],
|
||
|
'listen' => [
|
||
|
'AppInit' => [],
|
||
|
'HttpRun' => [],
|
||
|
'HttpEnd' => [],
|
||
|
'LogLevel' => [],
|
||
|
'LogWrite' => [],
|
||
|
|
||
|
// 定时任务:商城模块
|
||
|
'StoreTask' => [\app\timer\controller\Store::class],
|
||
|
// 定时任务:商城订单
|
||
|
'Order' => [\app\timer\controller\Order::class],
|
||
|
// 定时任务:用户优惠券
|
||
|
'UserCoupon' => [\app\timer\controller\UserCoupon::class],
|
||
|
// 定时任务:会员等级
|
||
|
'UserGrade' => [\app\timer\controller\UserGrade::class],
|
||
|
// 定时任务:分销订单
|
||
|
'DealerOrder' => [\app\timer\controller\dealer\Order::class],
|
||
|
// 定时任务:砍价任务
|
||
|
'BargainTask' => [\app\timer\controller\bargain\Task::class],
|
||
|
// 定时任务:秒杀订单
|
||
|
'SharpOrder' => [\app\timer\controller\sharp\Order::class],
|
||
|
// 定时任务:拼团拼单任务
|
||
|
'GrouponTask' => [\app\timer\controller\groupon\Task::class],
|
||
|
],
|
||
|
];
|