This commit is contained in:
2023-08-15 11:41:00 +08:00
parent 7b1afb53da
commit b27a46f037
5 changed files with 27 additions and 10 deletions

View File

@@ -17,8 +17,8 @@ export async function updateSchoolStatus(data) {
});
}
// 保存场地状态
export function savePlace(data) {
// 新增
export function addPlace(data) {
return request({
url: '/sch/place',
method: 'post',
@@ -27,6 +27,16 @@ export function savePlace(data) {
}
// 修改场地
export function updatePlace(data) {
return request({
url: '/sch/place',
method: 'put',
data: data
});
}
// 查询场地
export function getAllPlaces(param) {
return request({