refactor: 封装请求

This commit is contained in:
2026-05-09 09:25:13 +08:00
parent 765b84e2b4
commit 7bed43ac96
19 changed files with 195 additions and 108 deletions

4
src/api/index.ts Normal file
View File

@@ -0,0 +1,4 @@
export { API_V1_PREFIX } from "@/api/paths";
export { getHealth } from "@/api/health";
export { getPlayerPing, getPlayerMe } from "@/api/player";
export { getWalletBalance, type GetWalletBalanceParams } from "@/api/wallet";