做完了一部分,备份一下,防止以外删除

This commit is contained in:
2025-11-11 15:16:38 +08:00
parent 9600e5b6e0
commit e98dd4d725
39 changed files with 2423 additions and 183 deletions

View File

@@ -112,6 +112,11 @@
- [ ] Unified error codes defined in `pkg/errors/`
- [ ] Unified API responses via `pkg/response/`
- [ ] All constants defined in `pkg/constants/` (no magic numbers/strings)
- [ ] **No hardcoded values: 3+ identical literals must become constants**
- [ ] **Defined constants must be used (no duplicate hardcoding)**
- [ ] **Code comments prefer Chinese (implementation comments in Chinese)**
- [ ] **Log messages use Chinese (logger.Info/Warn/Error/Debug in Chinese)**
- [ ] **Error messages support Chinese (user-facing errors have Chinese text)**
- [ ] All Redis keys managed via `pkg/constants/` key generation functions
- [ ] Package structure is flat, organized by feature (not by layer)