mui.ajax(HOSTURL_addInquiry, {
data: {
"magnetsInquiry.productType":info.productType,
"magnetsInquiry.plateNumber":info.plateNumber,
"magnetsInquiry.number":info.number
},
dataType: "json",
type: "post",
timeout: 3000,
success: function(data) {
bjlog(data);
if(data.errorCode == 0){
return callback(null, data);
}else{
return callback(data.errorMsg);
}
},
error: function(xhr, type, errorThrown) {
bjlog(errorThrown);
mui.toast("服务器很忙~请稍后在试!~");
return;
}
});
iphone 提示
{"stack":"parse@[native code]\nonreadystatechange@file:///var/mobile/Applications/1A6337EB-76C2-4A0F-BA7C-093D7F06BF53/Library/Pandora/apps/HBuilder/www/js/mui.min.js:6:59198","line":6,"sourceURL":"file:///var/mobile/Applications/1A6337EB-76C2-4A0F-BA7C-093D7F06BF53/Library/Pandora/apps/HBuilder/www/js/mui.min.js"}
0 个回复