活动:添加区服id表示
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user