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
代码中只映射了错误请求的结构体
// Response response struct type Response struct { Code int64 json:"code" Msg string json:"msg" }
json:"code"
json:"msg"
如请求成功,返回体为:
{ "Extra": null, "StatusCode": 0, "StatusMessage": "success" } 如请求体格式错误,返回体如下。请检查:
请求体内容格式是否与各消息类型的示例代码一致 请求体大小不能超过20k { "code": 9499, "msg": "Bad Request", "data": {} }
参考文档 https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN#f62e72d5
The text was updated successfully, but these errors were encountered:
fix: response struct #2
9f2c881
感谢你的指正,v1.3.2 已经加上了,可以查看最新的代码
Sorry, something went wrong.
@feeops 如果没有问题,我这边就先关闭 issue 了,有问题的话再留言
No branches or pull requests
代码中只映射了错误请求的结构体
// Response response struct
type Response struct {
Code int64
json:"code"
Msg string
json:"msg"
}
如请求成功,返回体为:
{
"Extra": null,
"StatusCode": 0,
"StatusMessage": "success"
}
如请求体格式错误,返回体如下。请检查:
请求体内容格式是否与各消息类型的示例代码一致
请求体大小不能超过20k
{
"code": 9499,
"msg": "Bad Request",
"data": {}
}
参考文档
https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN#f62e72d5
The text was updated successfully, but these errors were encountered: