feat: Client calling server API

This commit is contained in:
CrescentLeaf
2025-09-06 01:51:57 +08:00
parent 7d407d02ca
commit d5e38a8167
4 changed files with 68 additions and 71 deletions

View File

@@ -10,5 +10,6 @@ type ApiCallbackMessage = {
* 501: 伺服器端不支持請求的功能
*/
code: 200 | 400 | 401 | 403 | 404 | 500 | 501,
data?: { [key: string]: unknown },
}
export default ApiCallbackMessage