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

后台接收json #17

Open
YuHangZM opened this issue Sep 11, 2017 · 3 comments
Open

后台接收json #17

YuHangZM opened this issue Sep 11, 2017 · 3 comments

Comments

@YuHangZM
Copy link

在用户登陆的时候,/u/login.ftl 页面中的ajax传送的是 一个 包括用户名 ,密码的json对象,后台
UserLoginController类中的submitLogin(UUser, Boolean, HttpServletRequest) 在使用 UUser的时候怎么没有添加@requestBody 注解呢? 不明白。。。。。

@baichengzhou
Copy link
Owner

能接收到参数不。

@YuHangZM
Copy link
Author

能接收到参数,我想知道这个原因或者这个知识点。

@YuHangZM
Copy link
Author

thank you!!

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

2 participants