校验:添加接口校验
This commit is contained in:
@@ -132,8 +132,6 @@ export class ActivityMonopolyHandler {
|
||||
const serverId = session.get('serverId');
|
||||
const sid: string = session.get('sid');
|
||||
|
||||
|
||||
if (addCount > 0) {
|
||||
let playerData = await getPlayerMonopolyData(activityId, serverId, roleId)
|
||||
let curPosition = playerData.curPosition;
|
||||
if (curPosition == 0) {
|
||||
@@ -169,9 +167,6 @@ export class ActivityMonopolyHandler {
|
||||
let recordResult = await ActivityMonopolyLandModel.addRecord(serverId, activityId, roleId, curPosition, BANK_TYPE.IN, resrouseStr);
|
||||
landData.record = recordResult.record;
|
||||
return resResult(STATUS.SUCCESS, { landData });
|
||||
}
|
||||
|
||||
return resResult(STATUS.MONOPOLY_BANK_COUNT_ERROR);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user