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

验证请求参数合法性时,传入当前请求方式 #12

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

Conversation

shiyifei
Copy link

验证当前请求参数合法性时,将当前请求方式传入,然后根据请求方式 来判断是该从 queryString 或requestbody中获取参数值,然后进行验证,没有传入时现在只是根据validator的type属性来验证的,针对支持多种方式的请求处理错误。

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