feat: 任务改用采集采购独立序号 (#172)
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user