This commit is contained in:
2023-03-20 17:28:07 +08:00
parent a7606b1f20
commit bff5199726
42 changed files with 5202 additions and 467 deletions

27
src/api/sch/place.js Normal file
View File

@@ -0,0 +1,27 @@
import request from '@/utils/request'
// 获取地图数据
export function getMapData() {
return request({
url: '/sch/place/list',
method: 'get'
})
}
// 更新驾校状态
export async function updateSchoolStatus(data) {
return await request({
url: '/sch/place/updateSchool',
method: 'put',
data: data
})
}
// 保存场地状态
export function savePlace(data) {
return request({
url: '/sch/place',
method: 'post',
data: data
})
}