Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ldy
/
payment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c7f2190e
authored
Apr 10, 2023
by
丁铜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付新增优惠标记
1 parent
87543a05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/Notify/WxNotify.php
src/Notify/WxNotify.php
View file @
c7f2190
...
@@ -144,6 +144,12 @@ class WxNotify extends NotifyStrategy
...
@@ -144,6 +144,12 @@ class WxNotify extends NotifyStrategy
'trade_state'
=>
strtolower
(
$data
[
'return_code'
]),
'trade_state'
=>
strtolower
(
$data
[
'return_code'
]),
'channel'
=>
Config
::
WX_CHARGE
,
'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'
]))
{
if
(
!
empty
(
$data
[
'sub_appid'
]))
{
$retData
[
'sub_appid'
]
=
$data
[
'sub_appid'
];
$retData
[
'sub_appid'
]
=
$data
[
'sub_appid'
];
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment