|
|
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 |
|
|
|
719aef5a7f
|
fix(dictionary): 修复语义映射和错误日志
- 修复语义映射:强制将输入转换为查询语言的对应词
- 移除拼写自动纠正,避免错误纠正(如 franch→franchise)
- 修复 winston 日志 Error 对象序列化问题
|
2026-03-09 18:14:14 +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 |
|
|
|
eaf97b8279
|
...
|
2026-02-02 23:57:01 +08:00 |
|
|
|
ec265be26b
|
重构
|
2026-01-14 16:57:35 +08:00 |
|
|
|
804baa64b2
|
重构
|
2026-01-13 23:02:07 +08:00 |
|