活动:每日免费午饭、晚饭活动
This commit is contained in:
@@ -36,7 +36,7 @@ export class SelfServiceShopHandler {
|
||||
let playerData = await getSelfServiceShopActivityData(serverId, roleId)
|
||||
if (!playerData) return resResult(STATUS.ACTIVITY_MISSING);
|
||||
let playerGoods = await ActivitySelfServiceGoodsModel.findData(playerData.activityId, roleId, playerData.roundIndex, true);
|
||||
return resResult(STATUS.SUCCESS, { playerData, playerGoods });
|
||||
return resResult(STATUS.SUCCESS, { playerData, playerGoods: playerGoods ? playerGoods : [] });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -95,7 +95,7 @@ export class SelfServiceShopHandler {
|
||||
await ActivitySelfServiceGoodsModel.addGoods(obj.activityId, roleId, obj.roundIndex, obj.index, obj.cellIndex, obj.gift, obj.rewardIndex);
|
||||
}
|
||||
|
||||
return resResult(STATUS.SUCCESS, {});
|
||||
return resResult(STATUS.SUCCESS, { data });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user