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
沈志敏
2016-11-18 18:05:31 +0800
Commit
059b6a0ad8a3832f4cc7a196f3484db1eb240104
1 parent
8ff23ea1
fix bug
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/activity/controllers/coupon.js
apps/activity/models/coupon.js
public/js/activity/coupon.page.js
apps/activity/controllers/coupon.js
View file @
059b6a0
...
...
@@ -99,4 +99,4 @@ exports.verify = (req, res, next) => {
result
:
couponData
});
}).
catch
(
next
);
};
\ No newline at end of file
};
...
...
apps/activity/models/coupon.js
View file @
059b6a0
...
...
@@ -117,4 +117,4 @@ exports.registerAndSendCoupon = (data) => {
return
api
.
get
(
''
,
verifyData
).
then
(
result
=>
{
return
getUserStatus
(
result
);
});
// 所有数据返回一个 Promise,方便 Promise.all 调用
};
\ No newline at end of file
};
...
...
public/js/activity/coupon.page.js
View file @
059b6a0
...
...
@@ -373,4 +373,4 @@ $('.input-content .clear-verify').on('click', function() {
$
(
'.input-content input'
).
eq
(
'1'
).
val
(
''
);
$
(
this
).
addClass
(
'hidden'
);
$
(
'.input-content div'
).
eq
(
'1'
).
removeClass
();
});
\ No newline at end of file
});
...
...
Please
register
or
login
to post a comment