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
v1.2.0
Windows (64)
None
HTTP
2 | Android Watch
萌新,使用/upload_private_file或者/upload_group_file API上传文件都会显示打开文件失败
文件上传成功
{"data":null,"message":"打开文件失败","msg":"OPEN_FILE_ERROR","retcode":100,"status":"failed","wording":"打开文件失败"}
# 设置API的URL url = "http://127.0.0.1:8000/upload_private_file" # 设置参数 params = { "user_id": user_id, # 对方的QQ号 "file": "./speak.txt", # 本地文件路径 "name": "speak.txt" # 文件名称 } # 发送POST请求 response = requests.post(url, data=params) # 打印响应 print(response.text)
No response
是因为watch协议还是什么的原因?求大佬指点
The text was updated successfully, but these errors were encountered:
#2471 看这个
Sorry, something went wrong.
No branches or pull requests
请确保您已阅读以上注意事项,并勾选下方的确认框。
go-cqhttp 版本
v1.2.0
运行环境
Windows (64)
运行架构
None
连接方式
HTTP
使用协议
2 | Android Watch
重现步骤
萌新,使用/upload_private_file或者/upload_group_file API上传文件都会显示打开文件失败
期望的结果是什么?
文件上传成功
实际的结果是什么?
{"data":null,"message":"打开文件失败","msg":"OPEN_FILE_ERROR","retcode":100,"status":"failed","wording":"打开文件失败"}
简单的复现代码/链接(可选)
日志记录(可选)
No response
补充说明(可选)
是因为watch协议还是什么的原因?求大佬指点
The text was updated successfully, but these errors were encountered: