🐞 fix(镇念塔): 派遣任务添加参数:刷新次数

This commit is contained in:
luying
2022-11-21 15:07:00 +08:00
parent 111af1b7e9
commit ff10ff4c7d
3 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ export class RefreshShopHandler {
let rewardArray = stringToRewardParam(item.reward).map(cur => ({...cur, count: cur.count * count }));
let result = await addReward(roleId, roleName, sid, serverId, rewardArray, ITEM_CHANGE_REASON.BUY_REFRESH_SHOP);
await ActivityRefreshShopModel.addRecord(activityId, roleId, roundIndex, pageIndex, id);
await ActivityRefreshShopModel.addRecord(activityId, roleId, roundIndex, pageIndex, id, count);
item.buyCount += count;
return resResult(STATUS.SUCCESS, Object.assign(result, {