forked from qmpaas/leadshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Event.php
32 lines (30 loc) · 1.05 KB
/
Event.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
namespace leadmall;
use framework\common\BasicEvent;
/**
* 事件处理器
*/
class Event extends BasicEvent
{
public $param = [];
public $user_upload = [];
public $user_statistical = []; //用户统计信息
public $visit_goods_info = null; //商品信息,用于添加商品访问记录
public $visit_info = null; //访问用户信息
public $order_goods = []; //订单商品,用于修改库存和清空购物车
public $cancel_order_goods = []; //取消订单商品,用于库存返还
public $cancel_order_sn = []; //取消订单编号
public $pay_order_sn = null; //支付订单编号
public $pay_uid = null; //支付用户
public $refunded = [
"order_sn" => null,
"order_goods_id" => null,
"return_number" => null,
]; //退款事件信息
public $sms = [
'type' => '',
'mobile' => '',
'params' => [],
]; //短信参数
public $order_after = null; //售后事件
}