Tcp消息 统一发送与接收消息格式:

{
    "signature":"111ee6dbce3c9671dr6fdb69d1t506",
    "timestamp":"1783210513",
    "nonce":"123456",
    "encrypt":"必须是UTF8编码在经过Base64编码处理"
}


其中:

  1. signature  为消息体签名

  2. timestamp  为10位时间戳

  3. nonce  为随机字符串,最大32位

  4. encrypt  为加密的推送事件信息,解密后得到相应的数据格式如下:

{
    "event" : "event_online",
    "content" : "字符串或JSON格式",
}