Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
cdd5a206bbc43b47aad24d408bd434b4d46a906f
1 parent
772e7df1
套餐禁用优惠券
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
apps/cart/controllers/easypay.js
apps/cart/controllers/easypay.js
View file @
cdd5a20
...
...
@@ -9,8 +9,8 @@ const easypay = require('../models/easypay');
const
headerModel
=
require
(
'../../../doraemon/models/simple-header'
);
const
stepper
=
[
{
name
:
'填写订单'
,
focus
:
true
},
{
name
:
'付款,完成购买'
}
{
name
:
'填写订单'
,
focus
:
true
},
{
name
:
'付款,完成购买'
}
];
const
index
=
(
req
,
res
,
next
)
=>
{
...
...
@@ -22,9 +22,8 @@ const index = (req, res, next) => {
result
.
stepper
=
stepper
;
if
(
params
.
limitcode
)
{
// 限定发售不支持优惠券
result
.
notUseCoupon
=
true
;
}
// 限定发售&套餐不支持优惠券
result
.
notUseCoupon
=
true
;
res
.
render
(
'order-ensure2016'
,
{
title
:
'填写订单 | '
+
(
res
.
locals
.
title
||
''
),
...
...
@@ -63,4 +62,4 @@ module.exports = {
index
,
compute
,
submit
};
};
\ No newline at end of file
...
...
Please
register
or
login
to post a comment