Showing
1 changed file
with
4 additions
and
0 deletions
@@ -342,6 +342,10 @@ class DetailModel extends global.yoho.BaseModel { | @@ -342,6 +342,10 @@ class DetailModel extends global.yoho.BaseModel { | ||
342 | 342 | ||
343 | if (datas[2]) { | 343 | if (datas[2]) { |
344 | result.getBrand = datas[2].data; | 344 | result.getBrand = datas[2].data; |
345 | + | ||
346 | + _.forEach(result.getBrand, function(val) { | ||
347 | + val.url = `//m.yohobuy.com/shop?domain=${val.brandDomain}`; | ||
348 | + }); | ||
345 | } | 349 | } |
346 | 350 | ||
347 | if (isShare && datas[4]) { | 351 | if (isShare && datas[4]) { |
-
Please register or login to post a comment