Conversation
…TE /api/messages/{id}, GET /api/stats
统一代码格式,包括: - 拆分长行以符合行宽限制 - 调整多行表达式对齐 - 简化冗余的闭包语法 - 统一JSON响应格式
…ient parsing and lock acquisition
为消息发送过程添加详细的错误日志记录,包括适配器名称、消息ID和错误信息 在消息发送失败时更新消息状态为Failed 扩展消息状态枚举以支持Sending和Sent状态 优化OneBot适配器的错误处理和日志记录
在消息状态枚举中添加Canceled状态,并更新API端点、核心逻辑中相关的状态匹配处理
移除未使用的let绑定以消除编译器警告,保持代码整洁
在消息统计接口中增加对取消状态的消息计数,并更新总计数逻辑
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.