修复了关闭系统无需鉴权的问题

This commit is contained in:
2023-12-15 10:33:19 +00:00
parent da2c61089b
commit 467e6e2a61
3 changed files with 38 additions and 10 deletions

View File

@ -71,7 +71,7 @@ memoryriver类维护一个缓存简单地缓存高频访问和连续访问
- `#CloseSession [SessionToken] [OperationToken] [OuthenticationKey]`:显示地告知调度模块停止某个会话
- `#Request [SessionToken] [OperationToken] [OuthenticationKey]\n[UserCommand]`:向后端发送一个请求
- `#Who [SessionToken] [OperationToken] [OuthenticationKey]`:查询自己是谁和权限
- `#ShutDownSystem`:关闭整个系统
- `#ShutDownSystem [SessionToken] [OperationToken] [OuthenticationKey]`:关闭整个系统
### 后端向前端
- 字符串,`[SessionToken] [OperationToken] [LineCounter]\n[ResponseContent]`,其中,`[ResponseContent]`恰有`[LineCounter]`行,每行行末有且仅有一个`\n`。输出为空通过把`[LineCounter]`设置为0来实现若对话验证失败`[LineCounter]`设为-1