feat(organization): update default member limit to 200

- Changed the default maximum number of members per organization from 50 to 200 in both the documentation and the application service layer.
- This update allows for greater flexibility in organization membership management, accommodating larger teams.
This commit is contained in:
wizardchen
2026-02-09 11:40:25 +08:00
committed by lyingbug
parent 2db1f1e707
commit fdb7985cde
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@
### 2.3 成员人数上限
- 空间可设置**成员人数上限**(默认 50;设为 0 表示不限制)。
- 空间可设置**成员人数上限**(默认 200;设为 0 表示不限制)。
- 达到或超过上限时:
- 邀请码加入、管理员添加成员、审批通过加入均会被拒绝,并提示「该空间成员已满」;
- 已满时不允许提交新的加入申请。
+1 -1
View File
@@ -19,7 +19,7 @@ import (
const DefaultInviteCodeValidityDays = 7
// DefaultMemberLimit is the default max members per organization (0 = unlimited)
const DefaultMemberLimit = 50
const DefaultMemberLimit = 200
// ValidInviteCodeValidityDays are the allowed values for invite_code_validity_days
var ValidInviteCodeValidityDays = map[int]bool{0: true, 1: true, 7: true, 30: true}