59 lines
1.8 KiB
PHP
59 lines
1.8 KiB
PHP
<?php
|
|
// 事件定义文件
|
|
return [
|
|
'bind' => [],
|
|
'listen' => [
|
|
//展示活动
|
|
'ShowPromotion' => [
|
|
'addon\commission\event\ShowPromotion',
|
|
],
|
|
// 下单成功
|
|
'OrderCreate' => [
|
|
'addon\commission\event\OrderCreate',
|
|
'addon\commission\event\checkAccountsDivide',//验证积分释放可抵扣佣金
|
|
],
|
|
// 支付成功
|
|
'OrderPay' => [
|
|
'addon\commission\event\OrderPay',
|
|
],
|
|
// 在线买单支付成功
|
|
'CashierOrderPay' => [
|
|
'addon\commission\event\OrderPay',
|
|
],
|
|
// 订单完成
|
|
'OrderComplete' => [
|
|
'addon\commission\event\OrderComplete',
|
|
],
|
|
// 收银台订单完成
|
|
'CashierOrderComplete' => [
|
|
'addon\commission\event\OrderComplete',
|
|
],
|
|
// 订单退款
|
|
'OrderRefundFinish' => [
|
|
'addon\commission\event\OrderRefundFinish',
|
|
],
|
|
//订单关闭
|
|
'OrderClose' => [
|
|
'addon\commission\event\OrderClose',
|
|
],
|
|
'getDivideAccounts' => [//获取分佣账号
|
|
'addon\commission\event\getDivideAccounts'
|
|
],
|
|
'checkAccountsAuth' => [ //验证是否参与在线支付分账
|
|
'addon\commission\event\checkAccountsAuth',
|
|
],
|
|
'DivideMoneyAccounts' => [ //计算托管佣金划扣
|
|
'addon\commission\event\DivideMoneyAccounts',
|
|
],
|
|
// 店铺收入统计 这里统计豆豆积分收入
|
|
'IncomeStatistics' => [
|
|
'addon\commission\event\IncomeStatistics',
|
|
],
|
|
// 店铺支出统计 这里统计豆豆积分退款返还
|
|
'DisburseStatistics' => [
|
|
'addon\commission\event\DisburseStatistics',
|
|
],
|
|
],
|
|
'subscribe' => [],
|
|
];
|