初始上传
This commit is contained in:
52
addon/seckill/config/event.php
Executable file
52
addon/seckill/config/event.php
Executable file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
// 事件定义文件
|
||||
return [
|
||||
'bind' => [
|
||||
|
||||
],
|
||||
|
||||
'listen' => [
|
||||
//秒杀开启
|
||||
'OpenSeckill' => [
|
||||
'addon\seckill\event\OpenSeckill',
|
||||
],
|
||||
//秒杀关闭
|
||||
'CloseSeckill' => [
|
||||
'addon\seckill\event\CloseSeckill',
|
||||
],
|
||||
//展示活动
|
||||
'ShowPromotion' => [
|
||||
'addon\seckill\event\ShowPromotion',
|
||||
],
|
||||
'PromotionType' => [
|
||||
'addon\seckill\event\PromotionType',
|
||||
],
|
||||
// 商品营销活动类型
|
||||
'GoodsPromotionType' => [
|
||||
'addon\seckill\event\GoodsPromotionType',
|
||||
],
|
||||
|
||||
// 商品营销活动信息
|
||||
'GoodsPromotion' => [
|
||||
'addon\seckill\event\GoodsPromotion',
|
||||
],
|
||||
|
||||
// 订单营销活动类型
|
||||
'OrderPromotionType' => [
|
||||
'addon\seckill\event\OrderPromotionType',
|
||||
],
|
||||
|
||||
// 订单关闭
|
||||
'OrderClose' => [
|
||||
'addon\seckill\event\OrderClose',
|
||||
],
|
||||
|
||||
// 活动专区——秒杀页面配置
|
||||
'PromotionZoneConfig' => [
|
||||
'addon\seckill\event\SeckillZoneConfig',
|
||||
]
|
||||
],
|
||||
|
||||
'subscribe' => [
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user