将 web-admin 从子模块改为仓库内普通目录,便于单仓克隆与维护。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-05-12 16:41:08 +08:00
1 parent 2e9d020d50
commit c87732fcd5
515 files changed
+74372 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import request from '@/utils/http'
/** 与小程序端一致:value=区划代码,label=名称,children=下级 */
export interface ChinaRegionTreeNode {
value: string
label: string
children?: ChinaRegionTreeNode[]
}
/** 运营端:数据源 bas_china_region */
export function fetchChinaRegionTree() {
return request.get<{ tree: ChinaRegionTreeNode[] }>({
url: '/web/admin/china-region-tree'
})
}