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
Plain Diff
Browse Files
Authored by
周少峰
2017-09-25 11:16:02 +0800
Commit
959b8e1600aec0381d0e108564b55f29fe0c1c19
2 parents
6e165909
e14b768e
Merge branch 'feature/couponStatus' into release/6.1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/activity/models/coupon.js
apps/activity/models/coupon.js
View file @
959b8e1
...
...
@@ -100,7 +100,7 @@ exports.getCouponStatus = (params) => {
if
([
2
,
3
].
indexOf
(
status
)
>
-
1
)
{
const
cou
=
{
id
:
crypto
.
encryption
(
'yoho9646abcdefgh'
,
item
.
couponId
)
// 加密优惠券号
id
:
crypto
.
encryption
(
'yoho9646abcdefgh'
,
String
(
item
.
couponId
)
)
// 加密优惠券号
};
if
(
status
===
2
)
{
...
...
Please
register
or
login
to post a comment