diff --git a/game-server/app/servers/battle/handler/wishPoolHandler.ts b/game-server/app/servers/battle/handler/wishPoolHandler.ts index d101506a8..9cd7666f2 100644 --- a/game-server/app/servers/battle/handler/wishPoolHandler.ts +++ b/game-server/app/servers/battle/handler/wishPoolHandler.ts @@ -29,9 +29,9 @@ export class WishPoolHandler { let userGuilds = await UserGuildModel.getWishPoolGoods(code, ' wishDntCnt wishGoods'); let list = []; userGuilds.map(({ wishGoods })=>{ - wishGoods.map(({ type, goodId, count, receiveCnt, drawCnt, _id })=>{ - list.push({ type, goodId, count, receiveCnt, drawCnt, id: _id }) - }); + // wishGoods.map(({ type, goodId, count, receiveCnt, drawCnt, _id })=>{ + // list.push({ type, goodId, count, receiveCnt, drawCnt, id: _id }) + // }); }); return resResult(STATUS.SUCCESS, { list, wishDntCnt, wishGoods }); } @@ -45,9 +45,7 @@ export class WishPoolHandler { const { guildCode: code, wishDntCnt, wishGoods } = userGuild; const { wishPoolLv } = await GuildModel.findGuild(code, serverId); - if (wishDntCnt >= 0) - return resResult(STATUS.SUCCESS, { list, wishDntCnt, wishGoods }); } } \ No newline at end of file