活动:军团付费

This commit is contained in:
luying
2022-03-08 14:50:16 +08:00
parent b8e9ab9bdf
commit 130e2a16bd
15 changed files with 406 additions and 14 deletions

View File

@@ -61,9 +61,9 @@ export class LuckyTurntableHandler {
let { result, records, goodResult } = playerData.pull(roleName, count);
await ActivityTurntableModel.updateData(serverId, activityId, roleId, pick(playerData, ['todayCount', 'count', 'records', 'greatRewardCount']));
let goods = await addItems(roleId, roleName, sid, goodResult, ITEM_CHANGE_REASON.ACT_TURNTABLE_PULL);
await addItems(roleId, roleName, sid, goodResult, ITEM_CHANGE_REASON.ACT_TURNTABLE_PULL);
return resResult(STATUS.SUCCESS, { result, records, goods: combineItems(goods) });
return resResult(STATUS.SUCCESS, { result, records });
}