|
@@ -15,6 +15,7 @@ class push_helper
|
|
|
$thief = $to_info->nickname();
|
|
|
$push_param['text'] = "{$thief}偷走了您{$amount}元的红包.";
|
|
|
$push_param['go_type'] = 'bonus';
|
|
|
+ $push_param['url'] = 'xmmz://p.lrlz.com/main/index?index=2';
|
|
|
|
|
|
QueueClient::push('upushSendMsg',$push_param);
|
|
|
}
|
|
@@ -26,6 +27,8 @@ class push_helper
|
|
|
$name = $from_info->nickname();
|
|
|
$push_param['text'] = "{$name}的{$amount}元的红包,在向您飞来~.";
|
|
|
$push_param['go_type'] = 'bonus';
|
|
|
+ $push_param['url'] = 'xmmz://p.lrlz.com/main/index?index=2';
|
|
|
+
|
|
|
QueueClient::push('upushSendMsg',$push_param);
|
|
|
}
|
|
|
|
|
@@ -35,6 +38,8 @@ class push_helper
|
|
|
$push_param['member_id'] = $member_id;
|
|
|
$push_param['text'] = "购物退款通知:金额{$amount}元.";
|
|
|
$push_param['go_type'] = 'bonus';
|
|
|
+ $push_param['url'] = 'xmmz://p.lrlz.com/main/index?index=2';
|
|
|
+
|
|
|
QueueClient::push('upushSendMsg',$push_param);
|
|
|
}
|
|
|
|
|
@@ -44,6 +49,8 @@ class push_helper
|
|
|
$push_param['member_id'] = $member_id;
|
|
|
$push_param['text'] = "取消订单退款通知:抵扣率{$rate}%,金额{$amount}元.";
|
|
|
$push_param['go_type'] = 'bonus';
|
|
|
+ $push_param['url'] = 'xmmz://p.lrlz.com/main/index?index=2';
|
|
|
+
|
|
|
QueueClient::push('upushSendMsg',$push_param);
|
|
|
}
|
|
|
|
|
@@ -53,15 +60,19 @@ class push_helper
|
|
|
$push_param['member_id'] = $member_id;
|
|
|
$push_param['text'] = "红包退还通知:您发送的红包已超过24小时,退还未被领取的金额{$amount}元.";
|
|
|
$push_param['go_type'] = 'bonus';
|
|
|
+ $push_param['url'] = 'xmmz://p.lrlz.com/main/index?index=2';
|
|
|
+
|
|
|
QueueClient::push('upushSendMsg',$push_param);
|
|
|
}
|
|
|
+
|
|
|
public static function paysuccess($member_id)
|
|
|
{
|
|
|
$push_param = array();
|
|
|
$push_param['member_id'] = $member_id;
|
|
|
$push_param['text'] = "已收到你的货款,请留意发货短信,确认收货后会有红包奖励~";
|
|
|
$push_param['go_type'] = '';
|
|
|
-
|
|
|
+ $push_param['url'] = 'xmmz://p.lrlz.com/main/index?index=2';
|
|
|
+
|
|
|
QueueClient::push('upushSendMsg',$push_param);
|
|
|
}
|
|
|
public static function paysuccess_bonus($member_id,$money)
|