Browse Source

feat: 调用新导视的图标接口

master
jiannibang 3 years ago
parent
commit
085b1b0ea2
  1. 6
      src/js/helpers/data-helper.js

6
src/js/helpers/data-helper.js

@ -99,7 +99,7 @@ const getMallInfo = async ({ memberID }) => {
const {
data: { data: facs },
} = await axios.get(
`${baseUrl}/api/guide/v1/web/getProjectUsedIconList?projectCode=${code}`
`${baseUrl}/api/guidance/v1/web/getProjectUsedIconList?projectCode=${code}`
);
return facs;
} catch (error) {
@ -123,7 +123,7 @@ const getMallInfo = async ({ memberID }) => {
}
})(),
(async () => {
return {};
return { shopCouponMap: {} };
})(),
]);
mall.name = "SKP";
@ -189,7 +189,7 @@ const getMallInfo = async ({ memberID }) => {
mapData.buildArr.forEach(({ mapData: { parkArea } }) => {
parkArea.forEach(({ parkNum }) => mall.lots.push(parkNum));
});
console.log(mall.lots, shopInfo);
Object.assign(mall, {
floorData: mall.floors,
shopInfo,

Loading…
Cancel
Save