You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
329 B
JavaScript

6 months ago
import request from '@/utils/request'
// api地址
const api = {
all: 'clientApi/region/all',
tree: 'clientApi/region/tree'
}
// 获取所有地区
export const all = (param) => {
return request.get(api.all, param)
}
// 获取所有地区(树状)
export const tree = (param) => {
return request.get(api.tree, param)
}