feat(api): embed slots with ov replica and public feed

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-20 22:22:19 +08:00
parent eb51069a12
commit aee4b7ac46
23 changed files with 1890 additions and 10 deletions
+12
View File
@@ -0,0 +1,12 @@
// services/api/src/embed/ —— 展示位管理模块(P4b Task 2,仅 cn 入口装配:
// 展示位是 cn 权威实体,ov 侧只承接 slot-state 副本与公开读端点)。
// PrismaModule 为 @Global,直接注入;无 Redis/存储依赖(管理面纯 DB 写)。
import { Module } from '@nestjs/common';
import { EmbedSlotsController } from './embed.controller';
import { EmbedSlotsService } from './embed.service';
@Module({
controllers: [EmbedSlotsController],
providers: [EmbedSlotsService],
})
export class EmbedModule {}