WIP: preserve frontend redesign

This commit is contained in:
2026-07-19 19:31:00 +08:00
parent 7c19234523
commit 1b1d983060
8 changed files with 2345 additions and 528 deletions
+10
View File
@@ -0,0 +1,10 @@
import request from './request';
/**
* 后端健康检查。
* 对应 GET /api/health,成功时后端返回 Result<String>data 为 "OK")。
* request 拦截器会自动解包 Result,成功返回 data 字符串;失败会 reject。
*/
export function getHealth(): Promise<string> {
return request.get('/api/health');
}