Files
junhong_cmp_fiber/.gitignore
huang 4abbf558e4
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 4m28s
完善 DTO 规范:统一 description 标签并添加 AI 助手自动检查指引
- 修复所有 DTO 文件的 description 标签(10 个文件)
  - 枚举字段统一使用中文说明(用户类型、角色类型、权限类型等)
  - 状态字段明确说明 0/1 含义
  - validate 标签与 OpenAPI 标签保持一致

- 在 AGENTS.md 和 CLAUDE.md 添加 DTO 规范章节
  - AI 助手必须执行的 7 项检查清单
  - 常见枚举字段标准值参考
  - 确保未来 AI 助手自动遵循规范

- 创建规范文档
  - docs/code-review-checklist.md(Code Review 检查清单)
  - docs/dto-improvement-summary.md(DTO 改进总结)
  - docs/ai-dto-guidelines-update.md(AI 指引更新说明)

- 重新生成 OpenAPI 文档(375 个 description 标签)

影响:所有 API 字段现在都有清晰的中文说明,前端开发更友好
2026-01-20 15:10:11 +08:00

76 lines
877 B
Plaintext

# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
bin/
*.test
*.out
# Go workspace file
go.work
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool
*.out
coverage/
*.coverprofile
# Dependency directories
vendor/
# Go build cache
.cache/
# Environment variables
.env
.env.*
!.env.example
# Log files
logs/
*.log
# IDEs and editors
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
# Temporary files
*.tmp
*.temp
*.bak
# Redis dump
dump.rdb
# Database files
*.db
*.sqlite
*.sqlite3
# Configuration overrides (keep templates)
config/local.yaml
configs/local.yaml
# Build output
dist/
build/
# Auto-generated OpenAPI documentation
/openapi.yaml
.claude/settings.local.json
cmd/api/api
2026-01-09-local-command-caveatcaveat-the-messages-below-w.txt
.gitignore
ai-gateway.conf
__debug_bin1621385388
docs/admin-openapi.yaml