Skip to content
New issue

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

群管理禁言接口fail #229

Open
nullptru opened this issue May 10, 2018 · 3 comments
Open

群管理禁言接口fail #229

nullptru opened this issue May 10, 2018 · 3 comments

Comments

@nullptru
Copy link

你好,想请问下这个接口失败的原因大概有哪些呢.. 拥有管理员权限。
image

@hexsum
Copy link
Owner

hexsum commented May 11, 2018

服务端运行日志发出来看一下

@nullptru
Copy link
Author

版本

docker latest. ImageId: 5789505a2e00

描述

今晚先用 postman 获取了 group_id 信息和 member_id 信息,之后在 debug 级别的日志下调用禁言接口的日志如下... 结果依旧是 201 fail

 $ docker run -it --env MOJO_WEBQQ_LOG_LEVEL="debug" --env MOJO_WEBQQ_LOG_PATH="/tmp/mojo_webqq_log" -p 5000:5000 -v /tmp:/tmp sjdy521/mojo-webqq                                                    [23:41:53]
[18/05/17 23:45:37] [info] 当前正在使用 Mojo-Webqq v2.2.0
[18/05/17 23:45:37] [info] 客户端加载cookie[ /tmp/mojo_webqq_cookie_default.dat ]
[18/05/17 23:45:37] [info] 获取最新公告信息...
[18/05/17 23:45:38] [info] ----------------------------------------
[18/05/17 23:45:38] [debug] 加载插件[ Mojo::Webqq::Plugin::ShowMsg ]
[18/05/17 23:45:38] [debug] 加载插件[ Mojo::Webqq::Plugin::UploadQRcode ]
[18/05/17 23:45:38] [info] 执行插件[ Mojo::Webqq::Plugin::UploadQRcode ]
[18/05/17 23:45:38] [debug] 加载插件[ Mojo::Webqq::Plugin::Openqq ]
[18/05/17 23:45:38] [info] 执行插件[ Mojo::Webqq::Plugin::ShowMsg ]
[18/05/17 23:45:38] [info] 执行插件[ Mojo::Webqq::Plugin::Openqq ]
[18/05/17 23:45:38] [info] 插件[Mojo::Webqq::Plugin::Openqq]监听地址: [ http://0.0.0.0:5000 ]
[18/05/17 23:45:38] [info] Listening at "http://0.0.0.0:5000"
Server available at http://0.0.0.0:5000
[18/05/17 23:45:38] [info] 初始化 smartqq 客户端...
[18/05/17 23:45:38] [info] 正在检查登录状态...
[18/05/17 23:45:38] [info] 登录状态检查结果(1)
[18/05/17 23:45:38] [info] 检查结果:需要重新登录(1)
[18/05/17 23:45:38] [info] 正在获取登录二维码...
[18/05/17 23:45:38] [info] 二维码已下载到本地[ /tmp/mojo_webqq_qrcode_default.png ]
[18/05/17 23:45:38] [info] 二维码已上传云存储[ https://i.loli.net/2018/05/17/xxxxxxx.png ]
[18/05/17 23:45:39] [info] 等待手机QQ扫描二维码...
[18/05/17 23:46:19] [info] 检查安全代码...
[18/05/17 23:46:49] [info] 获取数据验证参数...
[18/05/17 23:46:51] [info] 正在进行登录(2)...
[18/05/17 23:46:51] [info] 帐号(xxxxxxxx)登录成功
[18/05/17 23:46:51] [info] 清除残留的历史二维码图片
[18/05/17 23:46:51] [warn] 未设置有效的登录密码,无法进行登录
[18/05/17 23:46:51] [info] 更新个人信息...
[18/05/17 23:46:52] [info] 更新好友信息...
[18/05/17 23:46:52] [warn] 无法支持获取扩展信息
[18/05/17 23:46:55] [info] 更新群列表信息...
[18/05/17 23:46:55] [warn] 无法支持获取扩展信息
[18/05/17 23:46:55] [info] 更新讨论组列表信息...
[18/05/17 23:46:55] [info] 开始接收消息...
[18/05/17 23:46:56] [info] 更新群组[ xxxxx ]信息
[18/05/17 23:46:56] [warn] 无法支持获取扩展信息
[18/05/17 23:47:14] [debug] POST "/openqq/shutup_group_member"
[18/05/17 23:47:14] [debug] Routing to a callback
[18/05/17 23:47:14] [debug] Routing to a callback
[18/05/17 23:47:15] [info] 更新群组[ xxxxx]信息
[18/05/17 23:47:15] [warn] 无法支持获取扩展信息
[18/05/17 23:47:15] [warn] 无法支持获取扩展信息
[18/05/17 23:47:15] [debug] 200 OK (0.215109s, 4.649/s)
[18/05/17 23:49:17] [debug] POST "/openqq/shutup_group_member"
[18/05/17 23:49:17] [debug] Routing to a callback
[18/05/17 23:49:17] [debug] Routing to a callback
[18/05/17 23:49:17] [warn] 无法支持获取扩展信息
[18/05/17 23:49:17] [debug] 200 OK (0.015771s, 63.408/s)

@hexsum
Copy link
Owner

hexsum commented May 17, 2018

看下github issue 183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants