feat(cool): 添加敏感词过滤功能

- 引入 go-sensitive-word 敏感词过滤库
- 在全局初始化中加载敏感词库并配置过滤器
- 在创建玩家时应用敏感词过滤,替换不合适的昵称内容
This commit is contained in:
2025-09-09 01:11:10 +08:00
parent 41b150e614
commit 685069fded
41 changed files with 88854 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ use (
./common/utils/log
./common/utils/sturc
./common/utils/xml
./common/utils/go-sensitive-word-1.3.3
./logic
./login
./modules