From f0a0f01ca70e852caf0300fd47d1840799c4d65d Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期二, 10 六月 2025 11:08:34 +0800 Subject: [PATCH] 撒点 --- src/api/index.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index dd62064..710edf6 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -42,6 +42,18 @@ return await response.json() } + +// export async function getDistrictCount() { +// const response = await fetch("/json/response.json", { +// mode: "cors", +// cache: "no-cache", +// headers: { +// "Content-Type": "application/json", +// }, +// }) +// return await response.json() +// } + export async function getDistrictCountByCity() { const response = await fetch("/json/CountByCounty.json", { mode: "cors", -- Gitblit v1.9.3