{"action":"created","issue":{"url":"https://api.github.com/repos/dvajs/dva/issues/367","repository_url":"https://api.github.com/repos/dvajs/dva","labels_url":"https://api.github.com/repos/dvajs/dva/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/dvajs/dva/issues/367/comments","events_url":"https://api.github.com/repos/dvajs/dva/issues/367/events","html_url":"https://github.com/dvajs/dva/issues/367","id":194260454,"number":367,"title":"mock数据取不到","user":{"login":"hellheaven","id":1140402,"avatar_url":"https://avatars.githubusercontent.com/u/1140402?v=3","gravatar_id":"","url":"https://api.github.com/users/hellheaven","html_url":"https://github.com/hellheaven","followers_url":"https://api.github.com/users/hellheaven/followers","following_url":"https://api.github.com/users/hellheaven/following{/other_user}","gists_url":"https://api.github.com/users/hellheaven/gists{/gist_id}","starred_url":"https://api.github.com/users/hellheaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellheaven/subscriptions","organizations_url":"https://api.github.com/users/hellheaven/orgs","repos_url":"https://api.github.com/users/hellheaven/repos","events_url":"https://api.github.com/users/hellheaven/events{/privacy}","received_events_url":"https://api.github.com/users/hellheaven/received_events","type":"User","site_admin":false},"labels":[{"id":397839056,"url":"https://api.github.com/repos/dvajs/dva/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-08T06:49:12Z","updated_at":"2016-12-09T07:04:36Z","closed_at":null,"body":"以前可以用的，现在会出现访问不到数据的情况。\r\n试了下在request的时候，加上端口则可以访问\r\n如：\r\nexport default function request(url, options) {\r\n  url='http://localhost:8989'+url;\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dvajs/dva/issues/comments/265947906","html_url":"https://github.com/dvajs/dva/issues/367#issuecomment-265947906","issue_url":"https://api.github.com/repos/dvajs/dva/issues/367","id":265947906,"user":{"login":"hellheaven","id":1140402,"avatar_url":"https://avatars.githubusercontent.com/u/1140402?v=3","gravatar_id":"","url":"https://api.github.com/users/hellheaven","html_url":"https://github.com/hellheaven","followers_url":"https://api.github.com/users/hellheaven/followers","following_url":"https://api.github.com/users/hellheaven/following{/other_user}","gists_url":"https://api.github.com/users/hellheaven/gists{/gist_id}","starred_url":"https://api.github.com/users/hellheaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellheaven/subscriptions","organizations_url":"https://api.github.com/users/hellheaven/orgs","repos_url":"https://api.github.com/users/hellheaven/repos","events_url":"https://api.github.com/users/hellheaven/events{/privacy}","received_events_url":"https://api.github.com/users/hellheaven/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T07:04:36Z","updated_at":"2016-12-09T07:04:36Z","body":"mock了访问不到，fetch('/api/xxx')不行。\r\nfetch('http://localhost:8989/api/xxx')可行。"}}
{"actor":{"display_login":"hellheaven"}}