字典、统计

This commit is contained in:
weicw
2021-09-18 14:51:31 +08:00
parent 9c1f1c1b8c
commit f212f334ef
21 changed files with 3228 additions and 2319 deletions

View File

@@ -0,0 +1,32 @@
import axios from 'axios';
const baseUri = "/sound/zone/place";
const listAllUrl = baseUri + "";
// 添加
const savePlace = function (data) {
return axios.post("/sound/zone/place",data)
}
// 删除
const removePlace = function (id) {
return axios.delete(`/sound/zone/place/${id}`,)
}
// 批量删除
const removeBatchPlace = function (ids) {
return axios.delete("/sound/zone/place/batch",{data:ids})
}
// 修改
const updatePlace = function (data) {
return axios.put("/sound/zone/place",data)
}
export {
listAllUrl,
savePlace,
updatePlace,
removeBatchPlace,
removePlace
}