事件订阅 / 商品与库存
创建商品
创建商品后,查询商品详情并发送通知。
| 字段 | 值 | 说明 |
|---|---|---|
eventModule | 3 | 事件模块编号 |
eventType | 301 | 具体事件编号 |
事件结构
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
id可选 | string | |
clinicId可选 | string | |
eventModule可选 | integer | |
eventType可选 | integer | |
eventName可选 | string | |
callbackCount可选 | integer | |
eventData可选 | object | |
结构示例
{
"id": "string",
"clinicId": "string",
"eventModule": 3,
"eventType": 301,
"eventName": "创建商品",
"callbackCount": 0,
"eventData": {
"id": "string",
"shortId": "string",
"name": "string",
"specification": "string",
"typeId": 0,
"typeName": "string",
"combineType": 0,
"pieceNum": 5,
"pieceUnit": "片",
"packageUnit": "盒",
"lastModified": "2022-05-13 12:22:56",
"status": 1,
"disableSell": 0
}
}