docs: update wg-basic/websocket

This commit is contained in:
Administrator 2021-09-14 07:18:49 +00:00 committed by John Smith
parent d6985c426b
commit f9b2383c18

View File

@ -2,7 +2,7 @@
title: 即时消息 title: 即时消息
description: 即时消息模块的使用 description: 即时消息模块的使用
published: true published: true
date: 2021-09-14T07:16:02.666Z date: 2021-09-14T07:18:48.453Z
tags: wg-basic tags: wg-basic
editor: markdown editor: markdown
dateCreated: 2021-09-14T06:25:26.887Z dateCreated: 2021-09-14T06:25:26.887Z
@ -49,7 +49,7 @@ websocket:
消息格式为 **JSONObject** 字符串 消息格式为 **JSONObject** 字符串
具体内容如下表 具体内容如下表
| 名称 | 说明 | 类型 | 是否可空 | | 属性 | 说明 | 类型 | 是否可空 |
| :-: | :-: | | :-: | :-: |
| id | 消息ID唯一 | String | 否 | | id | 消息ID唯一 | String | 否 |
| type | 消息类型编码 | Integer | 否 | | type | 消息类型编码 | Integer | 否 |
@ -72,4 +72,9 @@ websocket:
## 3. 主体 ## 3. 主体
**RegisterBody**
| 属性 | 说明 | 类型 | 是否可控 |
| :-: | :-: | :-: | :-: |
| sessionId | 登录获取到的会话ID | String | 否 |