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

502 B
Raw Blame History

目前已接入“真实直发”的平台:

  • 头条号: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