1
0
forked from erp-dev/erp

feat: big

This commit is contained in:
2026-07-01 11:51:13 +08:00
parent 7c9b77afb0
commit 5170700234
28 changed files with 933 additions and 37 deletions

View File

@@ -96,6 +96,8 @@
"id": 1,
"merchant": 10,
"name": "通用",
"payload_processor": "",
"speech_enabled": false,
"created_at": "2026-04-10T12:00:00+08:00",
"updated_at": "2026-04-10T12:00:00+08:00"
}
@@ -287,6 +289,7 @@
| `merchant` | int | 所属商户 ID |
| `name` | string | 分类名称 |
| `payload_processor` | string | payload 增强器标识,未启用时为空字符串 |
| `speech_enabled` | boolean | 该分类创建任务时是否触发语音播报;默认 `false` |
| `created_at` | datetime | 创建时间 |
| `updated_at` | datetime | 更新时间 |
@@ -301,13 +304,15 @@
|------|------|------|------|
| `name` | string | 是 | 分类名称,同商户下唯一 |
| `payload_processor` | string | 否 | payload 增强器标识;当前可选值:`structured_description_v1` |
| `speech_enabled` | boolean | 否 | 是否启用该分类的任务创建语音播报;默认 `false` |
请求示例:
```json
{
"name": "售后",
"payload_processor": "structured_description_v1"
"payload_processor": "structured_description_v1",
"speech_enabled": true
}
```
@@ -331,6 +336,7 @@
|------|------|------|
| `name` | string | 分类名称,同商户下唯一 |
| `payload_processor` | string | payload 增强器标识;传空字符串表示清空 |
| `speech_enabled` | boolean | 是否启用该分类的任务创建语音播报 |
成功响应:`MissionCategory`