This commit is contained in:
rewerma
2019-07-13 11:47:55 +08:00
parent 6f129bf524
commit 28da536ec8
8 changed files with 168 additions and 20 deletions

View File

@@ -37,3 +37,17 @@ export function deleteNodeServer(id) {
method: 'delete'
})
}
export function startNodeServer(id) {
return request({
url: '/nodeServer/start/' + id,
method: 'put'
})
}
export function stopNodeServer(id) {
return request({
url: '/nodeServer/stop/' + id,
method: 'put'
})
}