Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
262c5086
Commit
262c5086
authored
Nov 27, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信支付及退款相关修改
parent
745d1726
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
WxPay.php
application/library/Payment/WxPay.php
+0
-2
RefundReturn.php
application/models/DAO/Order/RefundReturn.php
+1
-1
No files found.
application/library/Payment/WxPay.php
View file @
262c5086
...
...
@@ -80,8 +80,6 @@ class WxPay extends \Payment\TencentPay
$this
->
parameters
[
'total_fee'
]
=
$total_fee
;
$this
->
parameters
[
'refund_fee'
]
=
$refund_fee
;
}
$this
->
parameters
[
'total_fee'
]
=
$total_fee
;
$this
->
parameters
[
'refund_fee'
]
=
$refund_fee
;
$this
->
parameters
[
'out_refund_no'
]
=
$param
[
'refundOrderNo'
];
$this
->
parameters
[
'out_trade_no'
]
=
$param
[
'outTradeNo'
];
$this
->
parameters
[
'op_user_id'
]
=
$this
->
mch_id
;
...
...
application/models/DAO/Order/RefundReturn.php
View file @
262c5086
...
...
@@ -396,7 +396,7 @@ class RefundReturnModel extends \DAO\AbstractModel {
}
$param
[
'subMchId'
]
=
$mchIdArray
[
'mchId'
];
}
if
(
intval
(
$orderInfo
[
'paymentType'
])
==
ApiConst
::
wxAppPayType
||
intval
(
$orderInfo
[
'paymentType'
])
==
3
)
{
if
(
intval
(
$orderInfo
[
'paymentType'
])
==
ApiConst
::
wxAppPayType
)
{
$wxpay
=
\Payment\WxPay
::
getInstance
();
unset
(
$param
[
'subMchId'
]);
$refund_return
=
$wxpay
->
refund
(
$param
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment