{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/897","repository_url":"https://api.github.com/repos/ant-design/ant-design-pro","labels_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/897/comments","events_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/897/events","html_url":"https://github.com/ant-design/ant-design-pro/issues/897","id":294629465,"number":897,"title":"表单提交，body问题","user":{"login":"kuayee","id":7850013,"avatar_url":"https://avatars2.githubusercontent.com/u/7850013?v=4","gravatar_id":"","url":"https://api.github.com/users/kuayee","html_url":"https://github.com/kuayee","followers_url":"https://api.github.com/users/kuayee/followers","following_url":"https://api.github.com/users/kuayee/following{/other_user}","gists_url":"https://api.github.com/users/kuayee/gists{/gist_id}","starred_url":"https://api.github.com/users/kuayee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuayee/subscriptions","organizations_url":"https://api.github.com/users/kuayee/orgs","repos_url":"https://api.github.com/users/kuayee/repos","events_url":"https://api.github.com/users/kuayee/events{/privacy}","received_events_url":"https://api.github.com/users/kuayee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-06T04:34:29Z","updated_at":"2018-02-06T06:28:54Z","closed_at":null,"author_association":"NONE","body":"表单提交 ，Content-Type: \"application/x-www-form-urlencoded\"。\r\n\r\n调用fetch，options参数如下，\r\nbody : \"j_username=admin&j_password=1\"\r\nheaders:{Content-Type: \"application/x-www-form-urlencoded\"}\r\nmethod:POST\r\n\r\n但是后台接收到的参数却是下面形式\r\n{\"j_username\":\"admin\",\"j_password\":\"1“}=\r\n\r\n明明是键值对，怎么到了后台，所有的参数都变成了key，而value是空呢？\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/comments/363324129","html_url":"https://github.com/ant-design/ant-design-pro/issues/897#issuecomment-363324129","issue_url":"https://api.github.com/repos/ant-design/ant-design-pro/issues/897","id":363324129,"user":{"login":"kuayee","id":7850013,"avatar_url":"https://avatars2.githubusercontent.com/u/7850013?v=4","gravatar_id":"","url":"https://api.github.com/users/kuayee","html_url":"https://github.com/kuayee","followers_url":"https://api.github.com/users/kuayee/followers","following_url":"https://api.github.com/users/kuayee/following{/other_user}","gists_url":"https://api.github.com/users/kuayee/gists{/gist_id}","starred_url":"https://api.github.com/users/kuayee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuayee/subscriptions","organizations_url":"https://api.github.com/users/kuayee/orgs","repos_url":"https://api.github.com/users/kuayee/repos","events_url":"https://api.github.com/users/kuayee/events{/privacy}","received_events_url":"https://api.github.com/users/kuayee/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T06:28:54Z","updated_at":"2018-02-06T06:28:54Z","author_association":"NONE","body":"@wunayou ,thanks ~\r\n仔细调试过很多次了，前端显示的body，就是键值对，如下：\r\nbody : \"j_username=admin&j_password=1\"\r\n但是经fetch发送之后，就是下图这样的。\r\n\r\n![](https://user-images.githubusercontent.com/7850013/35844581-33da9032-0b49-11e8-8ae7-e4284ae7c16c.png)\r\n"}}
{"actor":{"display_login":"kuayee"}}