This commit is contained in:
Putoo
2026-07-07 18:43:01 +08:00
parent 7f29fd46b8
commit 037e845622
37 changed files with 854 additions and 106 deletions

View File

@@ -43,4 +43,28 @@ export class FightService {
static async GetFightMsg(fightId: string) {
return await ApiService.Request("get", "/Fight/GetFightMsg", { fightId });
}
/**
* 个人挂机信息
* GET /Fight/GetUserHook
*/
static async GetUserHook() {
return await ApiService.Request("get", "/Fight/GetUserHook");
}
/**
* 挂机
* GET /Fight/OnHook
*/
static async OnHook(fightId: string) {
return await ApiService.Request("get", "/Fight/OnHook", { fightId });
}
/**
* 结束挂机
* GET /Fight/StopOnHook
*/
static async StopOnHook() {
return await ApiService.Request("get", "/Fight/StopOnHook");
}
}