活动:添加区服id表示

This commit is contained in:
qiaoxin
2021-05-15 18:32:51 +08:00
parent 909481df40
commit 498a846f91
10 changed files with 44 additions and 37 deletions

View File

@@ -55,7 +55,7 @@ export class SelfServiceShopHandler {
let item = playerData.getItem(index);
if (item.countMax > 0) {//限制购买次数
let playerRecords: ActivitySelfServiceShopModelType[] = await ActivitySelfServiceShopModel.findDataByIndex(activityId, roleId, playerData.roundIndex, index);
let playerRecords: ActivitySelfServiceShopModelType[] = await ActivitySelfServiceShopModel.findDataByIndex(serverId, activityId, roleId, playerData.roundIndex, index);
if (playerRecords.length >= item.countMax) {
return resResult(STATUS.ACTIVITY_MAX_COUNT);
}