mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交升级
This commit is contained in:
@@ -71,7 +71,7 @@ export interface PlayerPetOV{
|
||||
petId:number, //宠物唯一Id
|
||||
petPlayerId:number; //宠物的玩家Id
|
||||
petTbId:number; //宠物配置表Id
|
||||
petGrade:number; //宠物等级
|
||||
petLevel:number; //宠物等级
|
||||
petStar:number; //宠物星级
|
||||
petStarExp:number; //宠物星级经验
|
||||
}
|
||||
@@ -102,7 +102,9 @@ export const API = {
|
||||
/********** 宠物接口 ******************/
|
||||
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, //提升宠物星
|
||||
PetUpStar: async (petId:number,pets:number[]) => RData(await app.api.post(`/game/pet/up/star`,{petId,pets}),true) as PlayerPetOV, //提升宠物星
|
||||
//petId 升级的宠物Id
|
||||
PetUpLevel: async (petId:number) => RData(await app.api.post(`/game/pet/up/level/${petId}`),true) as PlayerPetOV, //升级宠物
|
||||
|
||||
/********** 阵法接口 ******************/
|
||||
GetPlayerTactical: async () => RData(await app.api.get(`/game/tactical/get`),false) as PlayerTacticalOV, //获取玩家阵法
|
||||
|
Reference in New Issue
Block a user