chore(emergency): 简化群成员上限提示文案

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-22 11:24:46 +08:00
co-authored by Claude
parent 1167ac792e
commit 44e8ac7da5
@@ -1360,7 +1360,7 @@ public class EmergencyApiServiceImpl implements EmergencyApiService {
int newMemberCount = (int) candidateList.stream()
.filter(userId -> !alreadyInGroup.contains(userId)).count();
if (currentGroupSize + newMemberCount > 9) {
ExceptionAssertsUtil.fail("群成员已达上限,当前" + currentGroupSize + "人,最多邀请" + (9 - currentGroupSize) + "");
ExceptionAssertsUtil.fail("群成员已达上限");
}
// memberType: 0=专家/专业人员(默认), 1=员工