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
What Version Of crocodile you using
1.1.7
Describe your issue
在个人中心模块,我添加通知的钉钉号,会报参数错误,调用的具体接口是/api/v1/user/info,请求的具体参数: {"id":"1112222","email":"","wechat":"","dingphone":"188xxxxxxxx","slack":"","telegram":"","password":"","remark":""} 报错日志:
/api/v1/user/info
{"id":"1112222","email":"","wechat":"","dingphone":"188xxxxxxxx","slack":"","telegram":"","password":"","remark":""}
2020-11-23T11:38:55.493+0800 error user/user.go:170 ShouldBindJSON failed {"error": "Key: 'ChangeUserSelf.Name' Error:Field validation for 'Name' failed on the 'required' tag"}
在有uid的情况下,name应该是非必须项,所以应该去掉:
uid
The text was updated successfully, but these errors were encountered:
labulakalia
No branches or pull requests
What Version Of crocodile you using
Describe your issue
在有
uid
的情况下,name应该是非必须项,所以应该去掉:The text was updated successfully, but these errors were encountered: