Merge branch 'feature/yoluckShare' into 'release/0110'
thumb handle See merge request !1662
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -478,6 +478,9 @@ class YoLuckService extends global.yoho.BaseModel { | @@ -478,6 +478,9 @@ class YoLuckService extends global.yoho.BaseModel { | ||
478 | if (value.user_thumb.indexOf('headimg') > 0) { | 478 | if (value.user_thumb.indexOf('headimg') > 0) { |
479 | value.user_thumb = nearAvatar; | 479 | value.user_thumb = nearAvatar; |
480 | } else { | 480 | } else { |
481 | + if (value.user_thumb.indexOf('?') > 0) { | ||
482 | + value.user_thumb = _.split(value.user_thumb, '?')[0] + '?imageView2/2/w/70/h/70/q/60'; | ||
483 | + } | ||
481 | nearAvatar = value.user_thumb; | 484 | nearAvatar = value.user_thumb; |
482 | } | 485 | } |
483 | 486 |
-
Please register or login to post a comment