mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
简单的升星
This commit is contained in:
@@ -70,6 +70,8 @@ export interface PlayerPetOV{
|
||||
petPlayerId:number; //宠物的玩家Id
|
||||
petTbId:number; //宠物配置表Id
|
||||
petGrade:number; //宠物等级
|
||||
petStar:number; //宠物星级
|
||||
petStarExp:number; //宠物星级经验
|
||||
}
|
||||
//玩家阵法信息
|
||||
export interface PlayerTacticalOV{
|
||||
@@ -96,7 +98,9 @@ export const API = {
|
||||
|
||||
|
||||
/********** 宠物接口 ******************/
|
||||
GetPlayerPets: async () => RData(await app.api.get(`/game/pet/list`),false) as PlayerPetOV[], //获取玩家全部宠物
|
||||
GetPlayerPets: async () => RData(await app.api.get(`/game/pet/list`),false) as PlayerPetOV[], //获取玩家全部宠物
|
||||
//petId 需合成的Id pets 被合成的Id列表
|
||||
PetUpStar: async (petId:number,pets:number[]) => RData(await app.api.post(`/game/pet/up/star`,{petId,pets}),true) as PlayerPetOV, //提升宠物星
|
||||
|
||||
/********** 阵法接口 ******************/
|
||||
GetPlayerTactical: async () => RData(await app.api.get(`/game/tactical/get`),false) as PlayerTacticalOV, //获取玩家阵法
|
||||
|
Reference in New Issue
Block a user