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

【功能建议】实现onebot标准中的状态码规范 #812

Closed
wzf03 opened this issue Apr 10, 2021 · 1 comment
Closed

【功能建议】实现onebot标准中的状态码规范 #812

wzf03 opened this issue Apr 10, 2021 · 1 comment

Comments

@wzf03
Copy link

wzf03 commented Apr 10, 2021

环境信息

go-cqhttp版本: 1.0.0-beta2

需要添加的功能内容

当前版本的go-cqhttp的http状态码和ws返回数据中的retcode和onebot v11标准不一致。

例如:onebot标准中当access token未提供时返回401,不符合时返回403,而go-cqhttp中统一返回了401

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

No branches or pull requests

2 participants
@wzf03 and others