Showing
3 changed files
with
2 additions
and
7 deletions
@@ -102,7 +102,6 @@ const getBrandShopGoodsData = params => { | @@ -102,7 +102,6 @@ const getBrandShopGoodsData = params => { | ||
102 | return shopApi.getBrandInfoByDomain({ | 102 | return shopApi.getBrandInfoByDomain({ |
103 | domain: params.domain | 103 | domain: params.domain |
104 | }).then(result => { | 104 | }).then(result => { |
105 | - | ||
106 | if (result.data) { | 105 | if (result.data) { |
107 | return shopApi.getBrandShopGoodsOriginData(Object.assign(params, { | 106 | return shopApi.getBrandShopGoodsOriginData(Object.assign(params, { |
108 | brand: result.data.id, | 107 | brand: result.data.id, |
@@ -75,9 +75,6 @@ | @@ -75,9 +75,6 @@ | ||
75 | }, (results)=> { | 75 | }, (results)=> { |
76 | const result = results[0], misc = results[1]; | 76 | const result = results[0], misc = results[1]; |
77 | 77 | ||
78 | - // if (result && result.code === 200) { | ||
79 | - // // TODO: | ||
80 | - // } | ||
81 | if (result && result.code === 403) { | 78 | if (result && result.code === 403) { |
82 | // 未登录 | 79 | // 未登录 |
83 | yoho.goLogin('', () => { | 80 | yoho.goLogin('', () => { |
@@ -86,7 +83,6 @@ | @@ -86,7 +83,6 @@ | ||
86 | tip('登录失败'); | 83 | tip('登录失败'); |
87 | }); | 84 | }); |
88 | } | 85 | } |
89 | - tip(result.message); | ||
90 | 86 | ||
91 | if (misc && misc.code === 200) { | 87 | if (misc && misc.code === 200) { |
92 | this.isFavorite = misc.data.isFavor === 'Y'; | 88 | this.isFavorite = misc.data.isFavor === 'Y'; |
-
Please register or login to post a comment