🐞 fix(日志): 修复道具日志中来源分类错误

This commit is contained in:
luying
2022-11-01 10:32:01 +08:00
parent 7eb5655680
commit 94beb37f10
4 changed files with 17 additions and 16 deletions

View File

@@ -90,7 +90,7 @@ export class LuckyTurntableHandler {
let box = playerData.findBox(boxCount);
let rewardArray = stringToRewardParam(box.rewards)
let result = await addReward(roleId, roleName, sid, serverId, rewardArray, ITEM_CHANGE_REASON.BUY_LIMIT_PACKAGE);
let result = await addReward(roleId, roleName, sid, serverId, rewardArray, ITEM_CHANGE_REASON.ACT_TURNTABLE_RECEIVE_BOX);
await ActivityTurntableModel.receiveBox(serverId, activityId, roleId, playerData.roundIndex, boxCount);
return resResult(STATUS.SUCCESS, { ...result, box: {...box, isReceived: true} });