Files
geo/媒体发布手工自测.md
T
root 1538a12042 feat(cache): add read-through cache layer across all app services
Introduce a generic read-through caching infrastructure and wire it into
all major tenant app services to reduce database load on hot read paths.

Key changes:
- Add `DeletePrefix` to Cache interface with memory (prefix scan) and
  Redis (SCAN + DEL) implementations
- New `readthrough.go`: generic `LoadJSON` / `LoadJSONWithEmpty` helpers
  backed by singleflight to prevent cache stampedes; supports jittered TTL
- New `cache_support.go`: centralized cache key builders and invalidation
  helpers for all entities (workspace, brand, prompt rules, schedule tasks,
  articles)
- Wire optional cache into ArticleService, BrandService, WorkspaceService,
  PromptRuleService, ScheduleTaskService, TemplateService, MediaService,
  PromptGenerateService via `WithCache()` builder pattern
- ScheduleDispatchWorker invalidates schedule task cache after dispatching
- ArticleService gains a new `Detail` endpoint with empty-result caching
- Update cmd entrypoints and transport handlers to propagate cache
2026-04-15 16:11:05 +08:00

24 lines
502 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
目前已接入“真实直发”的平台:
- 头条号:toutiaohao.ts
- 百家号:baijiahao.ts
- 搜狐号:sohuhao.ts
- 企鹅号:qiehao.ts
- 简书:jianshu.ts
目前已接入“真实登录检测,但暂未直发”的平台:
- bilibilibilibili.ts
- 掘金:juejin.ts
- 网易号:wangyihao.ts
- 什么值得买:smzdm.ts
- 公众号:weixin_gzh.ts
- 中关村在线:zol.ts
- 懂车帝:dongchedi.ts
没有问题的:
头条号:toutiaohao.ts
知乎: zhihu.ts