文档
测试

msgType=1已登录状态

POST

接口描述

msgType=1登录

请求参数

参数名
类型
描述
必填
id
消息ID,一般用UUID
必填
toUser
消息发给谁,一般没有发给上级编号的时候,都发给service_client
必填
fromUser
设备编号
必填
msgType
消息类型:1-登录,2-普通消息,3-回执消息
必填
bizType
业务类型
必填
content
消息体
必填
platformState
平台登录状态:offline-离线online-在线
必填
msg
msg:原来content内容
必填

说明 / 示例

```josn //设备心跳(platformState:offline-离线online-在线,msg:原来content内容 { "id": "fsfsdfsdhfghf", // 消息id "toUser": "BeJson", "fromUser": "fsdfh", "msgType": 1, "bizType": 0, "content": "{\"platformState\":\"online\",\"msg\":\"content\"}" } ```