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

1.8.4优化选项 #32

Closed
lei911gang opened this issue Sep 26, 2018 · 3 comments
Closed

1.8.4优化选项 #32

lei911gang opened this issue Sep 26, 2018 · 3 comments

Comments

@lei911gang
Copy link

controller层实体类接收参数,发送请求时,默认实体类所有字段都是选中的,选中的参数如果不填写,默认会发送空的字符串到后台,影响查询结果。现在只能手动把不需要的参数都手动去掉勾选,比较繁琐,建议不填写的字段不要传值。

@xiaoymin
Copy link
Owner

require=false的字段 空值就不传?是这个意思么

@lei911gang
Copy link
Author

在线调试页面,复选框不选中是不会传的,选中就必传了,建议是去掉复选框,传不传值以填不填写为依据

@quickfight
Copy link

能够改成默认不勾选全部呢,虽然是个小动作,但是挺实用的感觉

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

No branches or pull requests

3 participants