初始上传
This commit is contained in:
32
addon/coupon/config/event.php
Executable file
32
addon/coupon/config/event.php
Executable file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
// 事件定义文件
|
||||
return [
|
||||
'bind' => [
|
||||
],
|
||||
|
||||
'listen' => [
|
||||
|
||||
//展示活动
|
||||
'ShowPromotion' => [
|
||||
'addon\coupon\event\ShowPromotion',
|
||||
],
|
||||
//优惠券自动关闭
|
||||
'CronCouponEnd' => [
|
||||
'addon\coupon\event\CronCouponEnd',
|
||||
],
|
||||
// 优惠券活动定时结束
|
||||
'CronCouponTypeEnd' => [
|
||||
'addon\coupon\event\CronCouponTypeEnd',
|
||||
],
|
||||
//统计写入
|
||||
'AddStat' => [
|
||||
'addon\coupon\event\AddStat',
|
||||
],
|
||||
'PromotionPage' => [
|
||||
'addon\coupon\event\PromotionPage'
|
||||
],
|
||||
],
|
||||
|
||||
'subscribe' => [
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user