mengstack-api/internal/kernel/i18n/messages/zh.json
MengStack Dev df809f1045
Some checks failed
CI / Build & Test (push) Failing after 1m31s
feat: user CRUD API + dashboard stats + kernel infrastructure
- Add user management endpoints (list/create/get/update/delete) with pagination and search
- Add dashboard stats endpoint with tenant/user/online counts and growth metrics
- Add tenant resolver middleware for multi-tenant request scoping
- Add i18n kernel with zh/en message files and AcceptLanguage middleware
- Add WebSocket hub/handler for real-time communication
- Add job scheduler kernel with cron support
- Add plugin sandbox for isolated execution
- Add storage kernel (local filesystem)
- Add event bus kernel for pub/sub
- Add cache kernel abstraction
- Add database migration runner and version upgrade checker
- Add rate limiting middleware with Redis backend
- Add SQL migrations for rbac, audit_logs, settings, notifications, examples
- Extend user repository with list/delete/count operations
- Register all module routes with tenant resolver
2026-10-03 03:42:58 +08:00

14 lines
545 B
JSON

{
"error.unauthorized": "未授权,请先登录",
"error.forbidden": "无权访问此资源",
"error.not_found": "请求的资源不存在",
"error.internal": "服务器内部错误",
"error.validation": "请求参数校验失败",
"error.tenant_required": "缺少租户标识",
"error.rate_limited": "请求过于频繁,请稍后再试",
"error.duplicate": "数据已存在",
"error.invalid_credentials": "用户名或密码错误",
"error.token_expired": "令牌已过期",
"error.token_invalid": "无效的令牌"
}