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
yyq
2016-10-24 09:57:06 +0800
Commit
e1b0aa93e6b95884ad6ad353228266aa6f9689b7
2 parents
2e3397a5
00c6a5d1
Merge branch 'hotfix/shopFav' into feature/shopCoupon
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/product/controllers/favorite.js
apps/product/controllers/favorite.js
View file @
e1b0aa9
...
...
@@ -129,14 +129,14 @@ const isFavShop = (req, res, next) => {
let
shopId
=
req
.
body
.
shopId
;
if
(
!
uid
||
!
shopId
)
{
res
.
json
({
re
turn
re
s
.
json
({
code
:
400
,
message
:
'未收藏'
});
}
fav
.
getFavStatus
(
uid
,
shopId
,
'shop'
).
then
(
result
=>
{
res
.
json
(
result
);
re
turn
re
s
.
json
(
result
);
}).
catch
(
next
);
};
...
...
Please
register
or
login
to post a comment