记得上下班打卡 | git大法好,push需谨慎

Commit e3bdf34c authored by zhanggb's avatar zhanggb

Merge remote-tracking branch 'origin/fix_enters_limit' into pre

parents 7ddb2d7e eb1cb20c
......@@ -92,6 +92,10 @@ public class AdamEntersController {
if (any.isPresent()) {
return ResponseDto.failure(ErrorMapping.get("10019"));
}
if (vos.size() >= 10) {
return ResponseDto.failure(ErrorMapping.get("10025"));
}
}
String entersId = adamEntersService.add(parameter);
......@@ -161,7 +165,7 @@ public class AdamEntersController {
AdamEntersVo enters = adamRdmService.getEntersVoByUidEntersId(currentUid, entersId);
if (null == enters) return ResponseDto.failure(ErrorMapping.get("10105"));
adamEntersService.remove(currentUid, entersId);
// adamEntersService.remove(currentUid, entersId);
return ResponseDto.success();
}
......
......@@ -28,6 +28,7 @@
10022=头像不合规
10023=背景图不合规
10024=该账号已被主动注销
10025=入场人已达上限
10101=姓名或身份证件号无效
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment