Commit c7f2190e by 丁铜欣

支付新增优惠标记

1 parent 87543a05
Showing with 6 additions and 0 deletions
......@@ -144,6 +144,12 @@ class WxNotify extends NotifyStrategy
'trade_state' => strtolower($data['return_code']),
'channel' => Config::WX_CHARGE,
];
if (!empty($data['coupon_fee'])) {
$retData['coupon_fee'] = $data['coupon_fee'];
}
if (!empty($data['settlement_total_fee'])) {
$retData['settlement_total_fee'] = $data['settlement_total_fee'];
}
if (!empty($data['sub_appid'])) {
$retData['sub_appid'] = $data['sub_appid'];
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!