|
|
804c28ada9
|
refactor: 修复 modules 三层架构违规
- auth: actionDeleteAccount 改用 service+repo,forgot-password 完整三层实现
- card: serviceCheckCardOwnership 替代直接调用 repository
- deck: 移除 service 层的 use server 指令
- dictionary: 数据转换逻辑从 repository 移到 service
- ocr: 认证移到 action 层,跨模块调用改用 service
- translator: genIPA/genLanguage 改用 service 层
|
2026-03-11 09:40:53 +08:00 |
|
|
|
8099320e00
|
feat: 添加注销账号功能
- 在个人资料页面添加注销账号按钮
- 需要输入用户名确认才能删除
- 删除所有用户数据:牌组、卡片、笔记、关注等
- 添加 8 种语言翻译
|
2026-03-10 19:54:19 +08:00 |
|
|
|
c01c94abd0
|
refactor: 替换服务端 console.log/error 为 winston logger
- folder-action.ts: 18处 console.log -> log.error
- auth-action.ts: 4处 console.error -> log.error
- dictionary-action/service.ts: 3处 -> log.error
- translator-action/service.ts: 3处 -> log.error
- bigmodel/translator/orchestrator.ts: console -> log.debug/info/error
- bigmodel/tts.ts: console -> log.error/warn
- bigmodel/dictionary/*.ts: console -> log.error/debug/info
客户端代码(browser、page.tsx)保留 console.error
|
2026-03-08 14:58:43 +08:00 |
|
|
|
67ac0bf7b6
|
Sun Mar 8 09:35:08 AM CST 2026
|
2026-03-08 09:35:08 +08:00 |
|
|
|
9d42a45bb1
|
...
|
2026-02-03 20:29:55 +08:00 |
|
|
|
d5dde77ee9
|
...
|
2026-02-03 20:00:56 +08:00 |
|
|
|
ec265be26b
|
重构
|
2026-01-14 16:57:35 +08:00 |
|