Authored by 郭成尧

关联店铺数据多维

@@ -258,10 +258,11 @@ const detailDataPkg = (origin, uid, vipLevel) => { @@ -258,10 +258,11 @@ const detailDataPkg = (origin, uid, vipLevel) => {
258 258
259 dest.enterStore = {}; 259 dest.enterStore = {};
260 260
261 - dest.enterStore.img = 261 + dest.enterStore[0] = {};
  262 + dest.enterStore[0].img =
262 helpers.getImageUrl(origin.brand.brandIco, 47, 47); 263 helpers.getImageUrl(origin.brand.brandIco, 47, 47);
263 - dest.enterStore.storeName = origin.brand.brandName;  
264 - dest.enterStore.url = helpers.url('', null, origin.brand.brandDomain); 264 + dest.enterStore[0].storeName = origin.brand.brandName;
  265 + dest.enterStore[0].url = helpers.url('', null, origin.brand.brandDomain);
265 266
266 // getBrandsInfo(origin.brand.id, (shops) => { 267 // getBrandsInfo(origin.brand.id, (shops) => {
267 // if (shops.code === 200) { 268 // if (shops.code === 200) {