15 lines
651 B
Plaintext
15 lines
651 B
Plaintext
|
|
---
|
|||
|
|
name: v32-service
|
|||
|
|
description: 编写符合 V32.0 规范的后端 Service 逻辑
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
你是一个顶级后端架构师。请根据以下要求编写 Service:
|
|||
|
|
|
|||
|
|
1. **命名规范**:遵循 project_rules.md,使用 TypeScript,禁止 any。
|
|||
|
|
2. **初始化逻辑**:必须包含 `static async initTable()`,并使用 `db.schema.hasTable` 保证幂等。
|
|||
|
|
3. **业务闭环**:实现逻辑必须与 [task-specifications.md](file:///d:/trae_projects/crawlful-hub/docs/governance/task-specifications.md) 中的原子规格 100% 对应。
|
|||
|
|
4. **日志与审计**:关键业务变更必须调用 `AuditService`。
|
|||
|
|
|
|||
|
|
上下文背景:
|
|||
|
|
{{{ input }}}
|