军团:许愿池活跃

This commit is contained in:
luying
2022-07-25 17:42:59 +08:00
parent 4cf4511ee7
commit 6613470061
3 changed files with 36 additions and 31 deletions
@@ -117,7 +117,7 @@ export class WishPoolHandler {
}
await WishPoolReportModel.addReport(code, wishRoleId, role.roleName , dntRoleId, dntRoleName, wishGood.goodId, 1);
let goods = await addItems(dntRoleId, dntRoleName, sid, [getHonourObject(dicWishReward.honourReward)], ITEM_CHANGE_REASON.WISH_POOL_DONATE);
await addActive(dntRoleId, serverId, GUILD_POINT_WAYS.DONATE);
await addActive(dntRoleId, serverId, GUILD_POINT_WAYS.WISH_POOL);
return resResult(STATUS.SUCCESS, { wishDntCnt, goods, updateWishGoods: resWishGoods.map(({type, goodId, count, receiveCnt, drawCnt, id})=>{
return { type, goodId, count, receiveCnt, drawCnt, id, roleId: wishRoleId };