This commit is contained in:
qsh
2024-07-01 12:08:00 +08:00
parent a33cbab7e3
commit 6a414d07df
9 changed files with 29 additions and 22 deletions

View File

@@ -30,9 +30,9 @@ export const deletePlace = async (id) => {
return await request.delete({ url: '/admin-api/crm/sch-place/delete?id=' + id })
}
export const updatePlaceStatus = async (id, status) => {
export const updatePlaceStatus = async (placeId, status) => {
const data = {
id,
placeId,
status
}
return request.put({ url: '/admin-api/crm/sch-place/status/update', data: data })