From c26aa5123125faa9b464935490462380c7ef6503 Mon Sep 17 00:00:00 2001 From: jiannibang <271381693@qq.com> Date: Thu, 15 Jun 2023 15:37:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BA=E5=AE=9A=E5=95=86=E5=9C=BA?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/helpers/data-helper.js | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/js/helpers/data-helper.js b/src/js/helpers/data-helper.js index bda66f6..d3642b7 100644 --- a/src/js/helpers/data-helper.js +++ b/src/js/helpers/data-helper.js @@ -61,7 +61,6 @@ const getMallInfo = async ({ memberID }) => { } const [ - { cityName, projectName }, mapDataJSON, serverShopInfo, facs, @@ -70,19 +69,6 @@ const getMallInfo = async ({ memberID }) => { menu, { shopCouponMap, userLevel }, ] = await Promise.all([ - (async () => { - try { - const { - data: { data }, - } = await axios.get( - `${baseUrl}/api/guide/v1/web/getMallData?projectCode=${code}` - ); - return data; - } catch (error) { - console.error(error); - return {}; - } - })(), (async () => { try { const { @@ -172,9 +158,9 @@ const getMallInfo = async ({ memberID }) => { } })(), ]); - mall.name = projectName; - document.title = projectName; - mall.city = cityName; + mall.name = "K11"; + document.title = "沈阳K11"; + mall.city = "沈阳"; const mapData = JSON.parse(mapDataJSON)[0]; mall.activities = activities; mall.pois = pois;