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
Plain Diff
Browse Files
Authored by
毕凯
2017-02-23 19:05:49 +0800
Commit
e0c197652e2500f0432cba5f94503dd120dd62e1
2 parents
b98c5805
2aee1f3a
Merge branch 'feature/balanceSwitch' into 'gray'
302新版支付开关 See merge request
!298
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/cart/controllers/pay.js
apps/cart/controllers/pay.js
View file @
e0c1976
...
...
@@ -40,7 +40,7 @@ const payCenter = (req, res, next) => {
// 如果支付开关关闭,走老版本的支付
if
(
_
.
get
(
req
.
app
.
locals
.
wap
,
'pay.newPay'
,
false
)
===
false
)
{
return
res
.
redirect
(
30
1
,
helpers
.
urlFormat
(
'/home/orders/pay'
,
{
order_code
:
orderCode
}));
return
res
.
redirect
(
30
2
,
helpers
.
urlFormat
(
'/home/orders/pay'
,
{
order_code
:
orderCode
}));
}
if
(
sessionKey
)
{
...
...
Please
register
or
login
to post a comment