fix:声明mroom的update接口

This commit is contained in:
shijing 2025-09-24 09:38:27 +08:00
parent 4c0d3f0ba6
commit eed04718d2
1 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,14 @@ export default {
return await http.post(this.url, data); return await http.post(this.url, data);
} }
}, },
update: {
name: "更新",
req: async function(id, data){
return await http.put(
`${config.API_URL}/ofm/mroom/${id}/`,data
);
}
},
delete: { delete: {
url: `${config.API_URL}/ofm/mroom/delete/`, url: `${config.API_URL}/ofm/mroom/delete/`,
name: "批量物理删除", name: "批量物理删除",