From 019d1c7977feeb3a806518b4bb8298666495861a Mon Sep 17 00:00:00 2001 From: Tuuz <24893075+tobycroft@users.noreply.github.com> Date: Sat, 23 Mar 2024 18:55:12 +0800 Subject: [PATCH] Update configuration.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allow-temp-session说明更新 --- docs/guide/configuration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 1e76033..c8c1c44 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -63,10 +63,12 @@ icon: cog heartbeat_interval: 15000 // 设置为null则默认15000毫秒作为心跳间隔,0则为无心跳 } ], - 'allow-temp-session': false // 是否允许临时消息 } ``` +> 2024-3:allow-temp-session已经在后续版本中去除,未来需要在你自己的接收端对消息来源进行拦截或处理 + + | 参数名称 | 类型 | 作用 | 例子 | | --------------- | -------- | -------------------------------------------------------------------------------- | ----------- | | `default_token` | `string` | 默认 `token` ,**HTTP接口/主被动WS** 如果未单独定义 `token` ,则使用默认 `token` | `aaa123456` |