feat: support disabling KVM hosts
Build and Deploy Vue3 / build (push) Successful in 1m28s
Build and Deploy Vue3 / deploy (push) Successful in 53s

This commit is contained in:
shiran
2026-08-08 17:57:05 +08:00
parent 12f1fd23b1
commit e823a43b11
7 changed files with 133 additions and 29 deletions
+7
View File
@@ -169,6 +169,13 @@ export const updateRemoteHost = (data) => {
})
}
/** 设置宿主机禁用状态 */
export const setRemoteHostDisabled = (data) => {
return http2.post('/api/v1/admin/server/host_service/point/host/set_disabled', data, {
headers: { 'Content-Type': 'multipart/form-data' }
})
}
/** 删除宿主机 */
export const deleteRemoteHost = (params) => {
return http2.delete('/api/v1/admin/server/host_service/point/host/delete', { params })