活动:添加返回参数
This commit is contained in:
@@ -102,7 +102,12 @@ export class LimitPackageHandler {
|
||||
let result = await addReward(roleId, roleName, sid, serverId, funcs, rewardArray);
|
||||
|
||||
await ActivityShopModel.addRecord(activityId, roleId, roundIndex, id);
|
||||
return resResult(STATUS.SUCCESS, Object.assign(result, {}));
|
||||
|
||||
item.buyCount += 1;
|
||||
return resResult(STATUS.SUCCESS, Object.assign(result, {
|
||||
param: { activityId, roundIndex, id },
|
||||
item: item
|
||||
}));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user