fix: catalog size

This commit is contained in:
jialin
2026-01-12 12:24:34 +08:00
parent 05ad296b43
commit fc76822bdf
13 changed files with 413 additions and 35 deletions
@@ -149,6 +149,13 @@ export async function queryClusterDetail(
});
}
export async function queryClusterItem(params: { id: number }, options?: any) {
return request<ClusterListItem>(`${CLUSTERS_API}/${params.id}`, {
method: 'GET',
cancelToken: options?.token
});
}
export async function queryClusterToken(params: { id: number }) {
return request(`${CLUSTERS_API}/${params.id}/${CLUSTER_TOKEN}`, {
method: 'GET'