网关列表添加清理过期连接按钮功能

This commit is contained in:
Eamon
2026-05-08 17:47:42 +08:00
parent 85f9e68e32
commit bc29a025b0
4 changed files with 41 additions and 8 deletions

View File

@@ -22,3 +22,7 @@ export async function createGateway(data: {
export async function updateGateway(data: { id: number; status: number }) {
return callByUser<Gateway>("/api/admin/proxy/update/status", data)
}
export async function clear(data: { proxy_id: number }) {
return callByUser<PageRecord>("/api/admin/channel/sync/clear-expired", data)
}