Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

删除冗余代码 #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Wechat/WechatPay.php
Original file line number Diff line number Diff line change
Expand Up @@ -476,12 +476,11 @@ public function sendRedPack($openid, $total_amount, $mch_billno, $sendname, $wis
$data['send_name'] = $sendname; //商户名称
$data['re_openid'] = $openid; //红包接收者
$data['total_amount'] = $total_amount; //红包总金额
$data['total_num'] = '1'; //发放人数据
$data['total_num'] = $total_num; //发放人数据
$data['wishing'] = $wishing; //红包祝福语
$data['client_ip'] = Tools::getAddress(); //调用接口的机器Ip地址
$data['act_name'] = $act_name; //活动名称
$data['remark'] = $remark; //备注信息
$data['total_num'] = $total_num;
!empty($scene_id) && $data['scene_id'] = $scene_id;
!empty($risk_info) && $data['risk_info'] = $risk_info;
!empty($consume_mch_id) && $data['consume_mch_id'] = $consume_mch_id;
Expand Down