阶段七:完成React feature依赖门禁与旧入口瘦身

This commit is contained in:
Christ committed 2026-08-15 02:31:07 +08:00
1 parent 448713735f
commit 22656c20f1
30 files changed
+1485 -1511

No files matched your search

+5
View File
@@ -30,6 +30,11 @@ export const verifySession = async (options?: RequestControlOptions): Promise<{
return get('/api/v1/session', undefined, options);
};
// getHealth 读取服务健康检查和构建版本信息。
export const getHealth = async (options?: RequestControlOptions): Promise<{ version?: string; commit?: string }> => {
return get('/health', undefined, options);
};
export const logout = async (): Promise<ApiResponse> => {
return post('/api/v1/session/logout', {});
};