代理配置-端口映射,配置服务端端口时,检查端口是否被占用

This commit is contained in:
Metal
2023-07-17 21:06:51 +08:00
parent abab45785b
commit a7b2694204
5 changed files with 79 additions and 9 deletions
+8
View File
@@ -68,3 +68,11 @@ export function deleteBatchPortPool(ids) {
}
})
}
export function portAvailable(query) {
return request({
url: '/port-pool/port-available',
method: 'get',
params: query
})
}