加入版本显示

This commit is contained in:
2026-08-07 17:37:58 +08:00
parent 01aee47024
commit ea2d33d1bf
7 files changed
+61 -1

No files matched your search

+4
View File
@@ -131,6 +131,10 @@ export function getHealth(): Promise<HealthStatus> {
return getJSON<HealthStatus>('/api/health')
}
export function getBackendVersion(): Promise<{ version: string; commit: string }> {
return getJSON<{ version: string; commit: string }>('/api/version')
}
export function getHelpContent(): Promise<HelpContentResponse> {
return getJSON<HelpContentResponse>('/api/help')
}