Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
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
ccbikai
2016-08-06 16:40:22 +0800
Commit
4defe0487e8d4bf191a86e8bca04a2ae41ac14f3
1 parent
ca7d7d1d
店铺收藏问题修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/product/controllers/shop.js
apps/product/models/shop-api.js
apps/product/controllers/shop.js
View file @
4defe04
...
...
@@ -55,7 +55,7 @@ module.exports = {
/* 收藏店铺 */
collectShop
:
(
req
,
res
,
next
)
=>
{
if
(
!
req
.
user
.
uid
)
{
res
.
json
({
re
turn
re
s
.
json
({
code
:
403
,
message
:
'未登录'
});
...
...
apps/product/models/shop-api.js
View file @
4defe04
...
...
@@ -118,6 +118,6 @@ module.exports = {
method
:
'app.favorite.add'
});
}
return
api
.
get
(
''
,
finalParams
,
{
code
:
200
,
cache
:
false
}
);
return
api
.
get
(
''
,
finalParams
);
}
};
...
...
Please
register
or
login
to post a comment