new
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
消息头
|
||||
发信方,收信方,消息基础类型,消息体路由信息
|
||||
消息体
|
||||
消息处理器处理消息
|
||||
|
||||
```json 消息设计,草稿
|
||||
{
|
||||
"header": {
|
||||
"from": {
|
||||
"type": "community",
|
||||
"code": "community_id"
|
||||
},
|
||||
"receiver": {
|
||||
"type": "grid",
|
||||
"code": "grid_id"
|
||||
},
|
||||
"timestamp": "yyyymmddhhMMssssss",
|
||||
"msg_type": "data_report", //
|
||||
"msg_title": "community_population", // body的解析格式名
|
||||
"msg_version": "1" // body的解析格式版本
|
||||
},
|
||||
"body": {} // 消息内容由各场景具休定义
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user