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

fix: 修复无 locale 字段情况下导致的请求异常 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xuxusheng
Copy link

如果不处理 locale 字段为空的情况,大部分时候可以正常响应,但是针对部分极端的边界情况,例如某个字段校验规则为 binding:"min=1",但是传参时使用空字符串 "",会导致请求异常

image

image

image

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

Successfully merging this pull request may close these issues.

1 participant