Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
570000e3c37ff88a4c6598e26ae1bf87d7ea24f9
1 parent
5da16827
修复微信扫码支付
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
yohobuy/www.yohobuy.com/application/models/Shopping/Pay.php
yohobuy/www.yohobuy.com/application/models/Shopping/Pay.php
View file @
570000e
...
...
@@ -428,9 +428,9 @@ class PayModel
$tradeNo
=
'YOHOBuy_'
.
$orderCode
;
$input
=
new
WxPayOrderQuery
();
$input
->
SetOut_trade_no
(
$tradeNo
);
$
r
esult
=
WxPayApi
::
orderQuery
(
$input
);
$
payR
esult
=
WxPayApi
::
orderQuery
(
$input
);
if
(
isset
(
$
result
[
'trade_state'
])
&&
$r
esult
[
'trade_state'
]
===
'SUCCESS'
)
{
if
(
isset
(
$
payResult
[
'trade_state'
])
&&
$payR
esult
[
'trade_state'
]
===
'SUCCESS'
)
{
$result
=
array
(
'code'
=>
'200'
,
'message'
=>
'success'
...
...
Please
register
or
login
to post a comment