Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai(👎🏻🍜)
8 years ago
Commit
cc9a62b9c92933873cf54100409bd4da31db6d9f
1 parent
2af05198
支付失败
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
apps/cart/controllers/pay.js
apps/cart/controllers/pay.js
View file @
cc9a62b
...
...
@@ -73,6 +73,11 @@ const payAli = (req, res, next) => {
return
;
}
// 支付失败
if
(
req
.
query
.
trade_status
!==
'TRADE_SUCCESS'
)
{
return
res
.
render
(
'pay/pay-ali'
,
Object
.
assign
(
responseData
));
}
payModel
.
getPayAli
(
param
).
then
(
result
=>
{
if
(
result
.
match
===
true
)
{
res
.
render
(
'pay/pay-ali'
,
Object
.
assign
(
responseData
,
result
));
...
...
Please
register
or
login
to post a comment