'modifyAppUrl-to-model'
Showing
1 changed file
with
4 additions
and
2 deletions
@@ -45,7 +45,8 @@ const _formShopData = (data, shopId, isApp) => { | @@ -45,7 +45,8 @@ const _formShopData = (data, shopId, isApp) => { | ||
45 | _.forEach(resData, (item) => { | 45 | _.forEach(resData, (item) => { |
46 | if (item.data) { | 46 | if (item.data) { |
47 | spring.push({ | 47 | spring.push({ |
48 | - url: isApp ? listModel.modifyAppUrl(item.data[0], shopId) : listModel.modifyWapUrl(item.data[0], shopId), | 48 | + url: isApp ? listModel.modifyAppUrl(item.data[0], shopId) : |
49 | + listModel.modifyWapUrl(item.data[0], shopId), | ||
49 | springType: helpers.image(item.data[0].src) | 50 | springType: helpers.image(item.data[0].src) |
50 | }); | 51 | }); |
51 | } | 52 | } |
@@ -100,7 +101,8 @@ const _formShopData = (data, shopId, isApp) => { | @@ -100,7 +101,8 @@ const _formShopData = (data, shopId, isApp) => { | ||
100 | _.forEach(resData, (item) => { | 101 | _.forEach(resData, (item) => { |
101 | if (item.data[0]) { | 102 | if (item.data[0]) { |
102 | bannerTop.data.push({ | 103 | bannerTop.data.push({ |
103 | - url: isApp ? listModel.modifyAppUrl(item.data[0], shopId) : listModel.modifyWapUrl(item.data[0], shopId), | 104 | + url: isApp ? listModel.modifyAppUrl(item.data[0], shopId) : |
105 | + listModel.modifyWapUrl(item.data[0], shopId), | ||
104 | src: item.data[0].src | 106 | src: item.data[0].src |
105 | }); | 107 | }); |
106 | } | 108 | } |
-
Please register or login to post a comment