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
Plain Diff
Browse Files
Authored by
沈志敏
2016-08-06 17:29:02 +0800
Commit
11bd7aa5a073867ba498be531c61454e8fee9d6d
2 parents
ea394586
f663b937
Merge branch 'develop' of git.yoho.cn:fe/yohoblk-wap into develop
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/product/controllers/shop.js
apps/product/models/shop-api.js
public/vue/product/search/index.vue
apps/product/controllers/shop.js
View file @
11bd7aa
...
...
@@ -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 @
11bd7aa
...
...
@@ -118,6 +118,6 @@ module.exports = {
method
:
'app.favorite.add'
});
}
return
api
.
get
(
''
,
finalParams
,
{
code
:
200
,
cache
:
false
}
);
return
api
.
get
(
''
,
finalParams
);
}
};
...
...
public/vue/product/search/index.vue
View file @
11bd7aa
...
...
@@ -32,7 +32,7 @@
// query
url: '/search.json',
order: '',
query:
qs.query
,
query:
decodeURIComponent(qs.query)
,
page: 0, // 未搜索 page=0; 全部加载完 page = totalPage; 无数据: page !=0 && productList.length=0
totalPage: null,
...
...
Please
register
or
login
to post a comment