Commit Graph

2 Commits

Author SHA1 Message Date
MengStack Dev
22dba67920 fix(auth): 包装数据库错误为 AppError 避免裸 500
- repo.Create 错误包装为 CREATE_USER_FAILED
- FindByEmail 非 RecordNotFound 错误包装为 QUERY_USER_FAILED
- 修复无效 UUID tenant 导致 gorm 原生错误泄露为 500 的问题
2026-10-03 00:35:15 +08:00
MengStack Dev
fbf9af32f0 Initial commit: MengStack Go API framework
Clean public release with:
- Go/Gin/PostgreSQL/Redis architecture
- Multi-tenant support
- JWT authentication
- Docker Compose deployment
- Environment-based configuration
2026-10-03 00:14:40 +08:00