feat(project): init

This commit is contained in:
2026-02-03 18:05:47 +08:00
commit f37a119eff
188 changed files with 29246 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import httpFetch from "@/api/fetch"
import { TreeNode } from "./type"
export const getCityTree = () =>
httpFetch<Array<TreeNode>>({
url: `https://backend.shay7sev.site/api/v1/backend/city`,
method: "GET",
})

View File

@@ -0,0 +1,5 @@
export type TreeNode = {
value: string
label: string
children?: TreeNode[]
}