chore(emergency): 简化群成员上限提示文案
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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=员工
|
||||
|
||||
Reference in New Issue
Block a user