Showing
1 changed file
with
4 additions
and
0 deletions
@@ -457,6 +457,10 @@ class YoLuckService extends global.yoho.BaseModel { | @@ -457,6 +457,10 @@ class YoLuckService extends global.yoho.BaseModel { | ||
457 | }; | 457 | }; |
458 | } | 458 | } |
459 | 459 | ||
460 | + if (userThumb.indexOf('?') > 0) { | ||
461 | + userThumb = _.split(userThumb, '?')[0] + '?imageView2/2/w/70/h/70/q/60'; | ||
462 | + } | ||
463 | + | ||
460 | return _.assign({userThumb}, result.data); | 464 | return _.assign({userThumb}, result.data); |
461 | } catch (e) { | 465 | } catch (e) { |
462 | logger.error(e); | 466 | logger.error(e); |
-
Please register or login to post a comment