We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.1.0
Ubuntu
x86
HTTP
1 | Android Phone
服务器配置: servers:
发送请求: curl --location --request POST 'domain:5700/send_private_msg' --header 'Content-Type: application/json' --data-raw '{ "group_id": 88888888, "message": "dddddd" }'
正常发送消息
返回: { "data": null, "message": "消息为空", "msg": "EMPTY_MSG_ERROR", "retcode": 100, "status": "failed", "wording": "消息为空" }
No response
The text was updated successfully, but these errors were encountered:
我在windows amd64的dev版本中测试,此问题貌似已被修复
Sorry, something went wrong.
No branches or pull requests
请确保您已阅读以上注意事项,并勾选下方的确认框。
go-cqhttp 版本
1.1.0
运行环境
Ubuntu
运行架构
x86
连接方式
HTTP
使用协议
1 | Android Phone
重现步骤
服务器配置:
servers:
address: 0.0.0.0:5700 # HTTP监听地址
timeout: 5 # 反向 HTTP 超时时间, 单位秒,<5 时将被忽略
long-polling: # 长轮询拓展
enabled: false # 是否开启
max-queue-size: 2000 # 消息队列大小,0 表示不限制队列大小,谨慎使用
middlewares:
<<: *default # 引用默认中间件
post: # 反向HTTP POST地址列表
发送请求:
curl --location --request POST 'domain:5700/send_private_msg'
--header 'Content-Type: application/json'
--data-raw '{
"group_id": 88888888,
"message": "dddddd"
}'
期望的结果是什么?
正常发送消息
实际的结果是什么?
返回:
{
"data": null,
"message": "消息为空",
"msg": "EMPTY_MSG_ERROR",
"retcode": 100,
"status": "failed",
"wording": "消息为空"
}
简单的复现代码/链接(可选)
No response
日志记录(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: