mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-19 05:15:08 +08:00
mall: 订单中心->运费模板(第一版 性能有问题)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
// 获得地区树
|
||||
export const getAreaTree = async () => {
|
||||
return await request.get({ url: '/system/area/tree' })
|
||||
export const getAreaTree = async (id: number) => {
|
||||
return await request.get({ url: '/system/area/tree?id=' + id })
|
||||
}
|
||||
|
||||
// 获得 IP 对应的地区名
|
||||
|
Reference in New Issue
Block a user