核心变更: - 数据权限过滤从基于账号层级改为基于用户类型的多策略过滤 - 移除 AccountStore 中的 GetSubordinateIDs 等旧方法 - 重构认证中间件,支持 enterprise_id 和 customer_id - 更新 GORM Callback,根据用户类型自动选择过滤策略(代理/企业/个人客户) - 更新所有集成测试以适配新的 API 签名 - 添加功能总结文档和 OpenSpec 归档 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
75 lines
826 B
Plaintext
75 lines
826 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
|
|
api
|
|
.gitignore
|
|
worker
|