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
周少峰
8 years ago
Commit
466994ce9b904a0902b8a4d176b0be4b6cb75a59
1 parent
13c39c45
coupon status
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
apps/activity/controllers/coupon.js
public/js/activity/coupon.page.js
apps/activity/controllers/coupon.js
View file @
466994c
...
...
@@ -33,7 +33,7 @@ exports.index = (req, res, next) => {
exports
.
getCouponStatus
=
(
req
,
res
,
next
)
=>
{
couponModel
.
getCouponStatus
({
uid
:
req
.
user
.
uid
,
contentCode
:
req
.
query
.
contentCode
contentCode
:
req
.
query
.
contentCode
||
contentCode
}).
then
(
result
=>
{
res
.
json
(
result
);
}).
catch
(
next
);
...
...
public/js/activity/coupon.page.js
View file @
466994c
...
...
@@ -173,10 +173,6 @@ function getCouponStatus() {
data
[
hash
[
0
]]
=
hash
[
1
];
}
if
(
!
data
.
contentCode
)
{
return
;
}
$
.
ajax
({
type
:
'GET'
,
url
:
'/coupon/couponstatus'
,
...
...
Please
register
or
login
to post a comment