{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/weex/issues/1686","repository_url":"https://api.github.com/repos/alibaba/weex","labels_url":"https://api.github.com/repos/alibaba/weex/issues/1686/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/weex/issues/1686/comments","events_url":"https://api.github.com/repos/alibaba/weex/issues/1686/events","html_url":"https://github.com/alibaba/weex/issues/1686","id":191168180,"number":1686,"title":"[bug]同样的网络请求在浏览器上请求不成功，集成到iOS上可以请求成功","user":{"login":"voidxin","id":17478441,"avatar_url":"https://avatars.githubusercontent.com/u/17478441?v=3","gravatar_id":"","url":"https://api.github.com/users/voidxin","html_url":"https://github.com/voidxin","followers_url":"https://api.github.com/users/voidxin/followers","following_url":"https://api.github.com/users/voidxin/following{/other_user}","gists_url":"https://api.github.com/users/voidxin/gists{/gist_id}","starred_url":"https://api.github.com/users/voidxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidxin/subscriptions","organizations_url":"https://api.github.com/users/voidxin/orgs","repos_url":"https://api.github.com/users/voidxin/repos","events_url":"https://api.github.com/users/voidxin/events{/privacy}","received_events_url":"https://api.github.com/users/voidxin/received_events","type":"User","site_admin":false},"labels":[{"id":339914709,"url":"https://api.github.com/repos/alibaba/weex/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":359381235,"url":"https://api.github.com/repos/alibaba/weex/labels/html5","name":"html5","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-23T01:22:41Z","updated_at":"2016-11-30T03:02:41Z","closed_at":null,"body":"在mac上用火狐浏览器打开时请求失败，但集成到iOS中去可以请求成功，在weexPlayground中也能成功。不知是什么原因。代码如下：\r\n```\r\n requestData:function(sd){\r\n                var self = this\r\n                var stream = require('@weex-module/stream')\r\n                var modal = require('@weex-module/modal')\r\n                var GET_URL = 'http://192.168.5.56:8383/mkt-back/productManagement/findCapitalReceipts?staffId='+sd\r\n                self.toast('数据加载中...')\r\n                stream.fetch({\r\n                  method: 'GET',\r\n                  url: GET_URL,\r\n                  type: 'json'\r\n                }, function(ret) {   \r\n                    if (typeof ret == 'string') {\r\n                    ret = JSON.parse(ret)\r\n                  }\r\n                  if (!ret.ok) {\r\n                    modal.alert({\r\n                      message: '获取数据失败',\r\n                      okTitle: '好'\r\n                    })\r\n                  } else {\r\n                    \r\n                    if (typeof ret.data == 'string') {\r\n                      ret.data = JSON.parse(ret.data)\r\n                    }\r\n  \r\n                  }\r\n                },function(response){\r\n                 \r\n                });\r\n\r\n            },\r\n```"},"comment":{"url":"https://api.github.com/repos/alibaba/weex/issues/comments/263769771","html_url":"https://github.com/alibaba/weex/issues/1686#issuecomment-263769771","issue_url":"https://api.github.com/repos/alibaba/weex/issues/1686","id":263769771,"user":{"login":"MrRaindrop","id":1545874,"avatar_url":"https://avatars.githubusercontent.com/u/1545874?v=3","gravatar_id":"","url":"https://api.github.com/users/MrRaindrop","html_url":"https://github.com/MrRaindrop","followers_url":"https://api.github.com/users/MrRaindrop/followers","following_url":"https://api.github.com/users/MrRaindrop/following{/other_user}","gists_url":"https://api.github.com/users/MrRaindrop/gists{/gist_id}","starred_url":"https://api.github.com/users/MrRaindrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrRaindrop/subscriptions","organizations_url":"https://api.github.com/users/MrRaindrop/orgs","repos_url":"https://api.github.com/users/MrRaindrop/repos","events_url":"https://api.github.com/users/MrRaindrop/events{/privacy}","received_events_url":"https://api.github.com/users/MrRaindrop/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T03:02:41Z","updated_at":"2016-11-30T03:02:41Z","body":"可能是你服务器端配置的 jsonp callback 名字不对，服务器是从 callback 这个参数里取回调函数的名称么？@1459416736"}}
{"actor":{"display_login":"MrRaindrop"}}