This commit is contained in:
Putoo
2026-06-17 19:22:35 +08:00
parent 5cd6151b96
commit 3b0f1e37ee
40 changed files with 1856 additions and 55 deletions

View File

@@ -54,4 +54,39 @@ export class EquService {
static async GetUserOnSuitInfo(suitCode: string) {
return await ApiService.Request("get", "/Equ/GetUserOnSuitInfo", { suitCode });
}
/**
* 获取装备觉醒所需
* GET /Equ/GetEquAwakenInfo
*/
static async GetEquAwakenInfo(ue: string) {
return await ApiService.Request("get", "/Equ/GetEquAwakenInfo", { ue });
}
/**
* 觉醒装备
* GET /Equ/HandleEquAwaken
* @param type 0重置1正常觉醒
*/
static async HandleEquAwaken(ue: string, type: number) {
return await ApiService.Request("get", "/Equ/HandleEquAwaken", { ue, type });
}
/**
* 获取强化信息
* GET /Equ/GetEquUpInfo
*/
static async GetEquUpInfo(ueId: string) {
return await ApiService.Request("get", "/Equ/GetEquUpInfo", { ueId });
}
/**
* 强化装备
* POST /Equ/HandleEquUp
* @param ueId body
* @param needs body
*/
static async HandleEquUp(ueId: string, needs: string) {
return await ApiService.Request("post", "/Equ/HandleEquUp", { ueId, needs });
}
}