Skip to content

feat: 注册用户名校验#23

Merged
aba2222 merged 1 commit into
aba2222:mainfrom
xiokuai:feature/username-validation
Feb 21, 2026
Merged

feat: 注册用户名校验#23
aba2222 merged 1 commit into
aba2222:mainfrom
xiokuai:feature/username-validation

Conversation

@xiokuai
Copy link
Copy Markdown
Contributor

@xiokuai xiokuai commented Feb 20, 2026

Summary

  • 注册时校验用户名长度(2-20 字符)
  • 限制用户名只能包含字母、数字、下划线和中文
  • 不合规时给出明确的中文错误提示

用户名限制 2-20 字符,仅允许字母、数字、下划线和中文。
Copy link
Copy Markdown
Owner

@aba2222 aba2222 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢你的贡献

@aba2222 aba2222 merged commit 02d2c25 into aba2222:main Feb 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants