12121
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user