|
|
@@ -100,6 +100,7 @@ public class TeamService {
|
|
|
params.put("owner", team.getOwnerid());
|
|
|
params.put("announcement", team.getAnnouncement());
|
|
|
params.put("intro", team.getIntro());
|
|
|
+ params.put("teamMemberLimit", 500);
|
|
|
params.put("icon", "0");
|
|
|
String result = neteaseUserService
|
|
|
.httpPost("team/update.action", "application/x-www-form-urlencoded;charset=utf-8", params);
|
|
|
@@ -190,7 +191,7 @@ public class TeamService {
|
|
|
ids.add(id);
|
|
|
Team team = teamRepo.findById(Long.valueOf(tid)).orElseThrow(new BusinessException("未找到群聊"));
|
|
|
List<String> members = new ArrayList<>(team.getMembers());
|
|
|
- if (members.size() > 199) {
|
|
|
+ if (members.size() > 500) {
|
|
|
throw new BusinessException("群成员已满");
|
|
|
}
|
|
|
List<String> kicked = team.getKicked();
|