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
Plain Diff
Browse Files
Authored by
毕凯
2017-04-20 18:13:42 +0800
Commit
cb718cb29aeb95f5e4270fbf0b3fc85194b8b710
2 parents
bfa142f0
0f561bbc
Merge branch 'hotfix/shopfavstatus' into 'release/5.6'
店铺收藏状态 See merge request
!514
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
apps/product/controllers/list.js
apps/product/controllers/list.js
View file @
cb718cb
...
...
@@ -182,6 +182,13 @@ const shopFav = (req, res) => {
let
uid
=
req
.
user
.
uid
||
req
.
query
.
uid
||
req
.
cookies
.
appUid
||
_getUidFromUserAgent
(
req
);
let
shopId
=
req
.
query
.
shopId
;
if
(
!
uid
||
!
shopId
)
{
return
res
.
json
({
code
:
200
,
collect
:
false
});
}
listModel
.
getBrandFavStatus
({
uid
:
uid
,
id
:
shopId
,
...
...
Please
register
or
login
to post a comment