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
郭成尧
7 years ago
Commit
424e7083ddf3ee0053781cb1147e621f9b2f8cb7
1 parent
83b9cda0
货到付款不能支付
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 @
424e708
...
...
@@ -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