Showing
1 changed file
with
3 additions
and
1 deletions
@@ -371,7 +371,9 @@ const getDiscountDetailData = (id, yhChannel) => { | @@ -371,7 +371,9 @@ const getDiscountDetailData = (id, yhChannel) => { | ||
371 | return _discount(param).then((result) => { | 371 | return _discount(param).then((result) => { |
372 | if (result && result.code === 200) { | 372 | if (result && result.code === 200) { |
373 | res = _processDiscount(result.data); | 373 | res = _processDiscount(result.data); |
374 | - | 374 | + if (res[0] && res[0].coverUrl) { |
375 | + res[0].coverUrl = res[0].coverUrl.replace('/extent/{width}x{height}', ''); | ||
376 | + } | ||
375 | return { | 377 | return { |
376 | title: res[0] && res[0].title, | 378 | title: res[0] && res[0].title, |
377 | productPool: res[0] && res[0].productPool, | 379 | productPool: res[0] && res[0].productPool, |
-
Please register or login to post a comment