|
|
|
@ -168,16 +168,18 @@ const getMallInfo = async ({ memberID }) => { |
|
|
|
|
|
|
|
const shopInfo = serverShopInfo.map(({ floorOrd: floorOrder, shopList }) => ({ |
|
|
|
floorOrder, |
|
|
|
shopList: shopList.map((iot) => ({ |
|
|
|
...iot, |
|
|
|
code: iot.shopCode, |
|
|
|
houseNum: iot.houseNumber, |
|
|
|
logoPath: cdnUrl + iot.logoUrl, |
|
|
|
shopFormat: iot.industryFatherName, |
|
|
|
intro: true, |
|
|
|
formatColor: iot.color, |
|
|
|
floorOrder, |
|
|
|
})), |
|
|
|
shopList: shopList |
|
|
|
.filter(({ status }) => status !== 1) |
|
|
|
.map((iot) => ({ |
|
|
|
...iot, |
|
|
|
code: iot.shopCode, |
|
|
|
houseNum: iot.houseNumber, |
|
|
|
logoPath: cdnUrl + iot.logoUrl, |
|
|
|
shopFormat: iot.industryFatherName, |
|
|
|
intro: true, |
|
|
|
formatColor: iot.color, |
|
|
|
floorOrder, |
|
|
|
})), |
|
|
|
})); |
|
|
|
|
|
|
|
shopInfo.forEach(({ shopList }) => |
|
|
|
|