feat: 任务改用采集采购独立序号 (#172)

This commit is contained in:
chengma
2026-08-12 09:21:21 +08:00
parent eca3a77084
commit 9ad067503e
15 changed files with 523 additions and 44 deletions
+5 -1
View File
@@ -85,7 +85,7 @@ Idempotency-Key: <stable-key>
```json
{
"id": "PDD-20260806-0001",
"id": "cg1",
"type": "purchase",
"version": 3,
"priority": 10,
@@ -165,6 +165,10 @@ X-Request-Id: <uuid>
## 5. 领取任务
`task.id` 是 Admin 分配的不透明稳定字符串,当前采集编号为 `cjN`、
采购编号为 `cgN`。Client 必须原样写入 `remote_task_id` 并原样回传,
不校验历史前缀,不从编号推导类型或排序;任务类型以 `task.type` 为准。
```http
POST /api/v1/client/tasks/claim
```