...
|
...
|
@@ -27,6 +27,11 @@ const getShopData = params => { |
|
|
|
|
|
if (result[0].code === 200) {
|
|
|
|
|
|
/* 品牌名称 */
|
|
|
Object.assign(finalResult, {
|
|
|
brandName: result[0].data.brand_name
|
|
|
});
|
|
|
|
|
|
/* 品牌是否有店铺 */
|
|
|
if (result[0].data.shop_id) {
|
|
|
|
...
|
...
|
@@ -48,9 +53,9 @@ const getShopData = params => { |
|
|
|
|
|
/* 取店铺的基本信息 */
|
|
|
Object.assign(finalResult, {
|
|
|
brandLogo: subResult[0].data.shop_logo,
|
|
|
brandName: subResult[0].data.shop_name,
|
|
|
brandIntro: subResult[0].data.shop_intro,
|
|
|
shopLogo: subResult[0].data.shop_logo,
|
|
|
shopName: subResult[0].data.shop_name,
|
|
|
shopIntro: subResult[0].data.shop_intro,
|
|
|
isFav: subResult[0].data.is_favorite === 'Y'
|
|
|
});
|
|
|
|
...
|
...
|
|