为啥mui.ajax取不到数据呢```javascript
Not Acceptable
这是代码
```javascript
mui.plusReady(function() {
mui.ajax('http://api.juheapi.com/japi/toh', {
data: {
key: 'a39e91a64f9aa9b6056151c02f042b35',
v: '1.0',
month: '11',
day: '1'
},
dataType: 'json',
type: 'get',
timeout: 60000,
contentType:"application/x-www-form-urlencoded; charset=utf-8",
success: function(data) {
alert(1);
console.log(data);
},
error: function(xhr,type,errorThrown){
alert(type);
//异常处理;
console.log(xhr);
console.log(type);
console.log(errorThrown);
}
});
});
渐行渐远 (作者)
写了,Not Acceptable,具体是: [object XMLHttpRequest] at tab-webview-subpage-about.html:72
error at tab-webview-subpage-about.html:73
Not Acceptable at tab-webview-subpage-about.html:74
2016-03-14 12:23