Showing
1 changed file
with
3 additions
and
2 deletions
@@ -90,7 +90,7 @@ const getBrandViewTop = channel => { | @@ -90,7 +90,7 @@ const getBrandViewTop = channel => { | ||
90 | brandAds = [], | 90 | brandAds = [], |
91 | brandLogos = []; | 91 | brandLogos = []; |
92 | 92 | ||
93 | - if (res.data === 'false' || res.code !== 200 ) { | 93 | + if (res.data === 'false' || res.code !== 200) { |
94 | return result; | 94 | return result; |
95 | } | 95 | } |
96 | 96 | ||
@@ -154,6 +154,7 @@ const getBrandViewList = (channel, start, length) => { | @@ -154,6 +154,7 @@ const getBrandViewList = (channel, start, length) => { | ||
154 | if (res.data === 'false' || res.code !== 200) { | 154 | if (res.data === 'false' || res.code !== 200) { |
155 | return result; | 155 | return result; |
156 | } | 156 | } |
157 | + | ||
157 | // 品牌list A-Z 0-9 | 158 | // 品牌list A-Z 0-9 |
158 | if (res.data && res.data.brands) { | 159 | if (res.data && res.data.brands) { |
159 | 160 | ||
@@ -349,7 +350,7 @@ const getPlustarList = (brandType, gender) => { | @@ -349,7 +350,7 @@ const getPlustarList = (brandType, gender) => { | ||
349 | brandsIds = [], | 350 | brandsIds = [], |
350 | result = {brandsIds: [], data: {}}; | 351 | result = {brandsIds: [], data: {}}; |
351 | 352 | ||
352 | - if (list.data === 'false' || list.code !== 200 ) { | 353 | + if (list.data === 'false' || list.code !== 200) { |
353 | return result; | 354 | return result; |
354 | } | 355 | } |
355 | if (list.data && list.data.data && list.data.data.list) { | 356 | if (list.data && list.data.data && list.data.data.list) { |
-
Please register or login to post a comment