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

如果提交的是数组,表单取不到值 #21

Open
pinguo-guzhongzhi opened this issue Dec 3, 2018 · 1 comment
Open

如果提交的是数组,表单取不到值 #21

pinguo-guzhongzhi opened this issue Dec 3, 2018 · 1 comment

Comments

@pinguo-guzhongzhi
Copy link
Contributor

如果提交的是数组,表单取不到值, 如POST下面的数据到服务端

user[0][name]:aaaaaa
user[0][pwd]:bbbbbbbb

@pinguo-zhengwei
Copy link
Contributor

不支持PHP那种深层嵌套的参数,会支持user[name]=xxxx&user[age]=28以及list[0]=aa&list[1]=bb两种形式的参数即map[string]string和[]string

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