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-12-06 14:00:25 +0800
Commit
a8cb682d0a846546b31571e82ba48e21009aac9c
2 parents
d9485222
424e7083
Merge branch 'hotfix/paybug' into 'hotfix/uidhandle'
货到付款不能支付 See merge request
!1139
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/cart/controllers/pay.js
apps/cart/controllers/pay.js
View file @
a8cb682
...
...
@@ -54,8 +54,9 @@ const payCenter = (req, res, next) => {
});
let
attribute
=
_
.
parseInt
(
_
.
get
(
orderDetail
,
'attribute'
));
let
paymentType
=
_
.
parseInt
(
_
.
get
(
orderDetail
,
'payment_type'
));
// 支付类型,2 为货到付款
if
(
attribute
===
9
||
attribute
===
11
)
{
if
(
attribute
===
9
||
attribute
===
11
||
paymentType
===
2
)
{
return
res
.
redirect
(
'/home/orders'
);
}
...
...
Please
register
or
login
to post a comment