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
陈轩
9 years ago
Commit
b250206d63416643294c0bd4d3b4496212f1f2bc
1 parent
1a785060
fix bug
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
apps/editorial/controllers/detail.js
apps/product/models/shop.js
public/vue/editorial/top-nav.vue
apps/editorial/controllers/detail.js
View file @
b250206
...
...
@@ -70,9 +70,9 @@ const component = {
};
if
(
!
req
.
user
.
uid
)
{
res
.
json
({
res
.
json
(
[
{
code
:
403
});
}
,
''
]
);
return
;
}
...
...
apps/product/models/shop.js
View file @
b250206
...
...
@@ -102,7 +102,6 @@ const getBrandShopGoodsData = params => {
return
shopApi
.
getBrandInfoByDomain
({
domain
:
params
.
domain
}).
then
(
result
=>
{
if
(
result
.
data
)
{
return
shopApi
.
getBrandShopGoodsOriginData
(
Object
.
assign
(
params
,
{
brand
:
result
.
data
.
id
,
...
...
public/vue/editorial/top-nav.vue
View file @
b250206
...
...
@@ -75,9 +75,6 @@
}, (results)=> {
const result = results[0], misc = results[1];
// if (result && result.code === 200) {
// // TODO:
// }
if (result && result.code === 403) {
// 未登录
yoho.goLogin('', () => {
...
...
@@ -86,7 +83,6 @@
tip('登录失败');
});
}
tip(result.message);
if (misc && misc.code === 200) {
this.isFavorite = misc.data.isFavor === 'Y';
...
...
Please
register
or
login
to post a comment