We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var ajaxUrl = "https://xxxx"; $.ajax({ url: ajaxUrl, type: "POST", success: function(data) { console.log(data); // 此行不进来,获取不到回调数据 } });
控制台拦截日志: 2019-12-27 11:37:43.145636+0800 KKJSBridgeDemo[26649:467666] KKJSBridge Receive ajax.open: { "method" : "POST", "scheme" : "http:", "port" : "50000", "id" : 993, "async" : true, "href" : "http://127.0.0.1:50000/index", "host" : "127.0.0.1", "referer" : null, "useragent" : "Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16A366 KKJSBridge/1.0.0", "url" : "https://xxxx" } 2019-12-27 11:37:43.146043+0800 KKJSBridgeDemo[26649:467676] KKJSBridge Receive ajax.setRequestHeader: { "id" : 993, "headerName" : "Accept", "headerValue" : "/" } 2019-12-27 11:37:43.146208+0800 KKJSBridgeDemo[26649:467893] KKJSBridge Receive ajax.send: { "id" : 993 }
The text was updated successfully, but these errors were encountered:
已经引入了<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
Sorry, something went wrong.
No branches or pull requests
var ajaxUrl = "https://xxxx";
$.ajax({
url: ajaxUrl,
type: "POST",
success: function(data) {
console.log(data); // 此行不进来,获取不到回调数据
}
});
控制台拦截日志:
2019-12-27 11:37:43.145636+0800 KKJSBridgeDemo[26649:467666] KKJSBridge Receive ajax.open: {
"method" : "POST",
"scheme" : "http:",
"port" : "50000",
"id" : 993,
"async" : true,
"href" : "http://127.0.0.1:50000/index",
"host" : "127.0.0.1",
"referer" : null,
"useragent" : "Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16A366 KKJSBridge/1.0.0",
"url" : "https://xxxx"
}
2019-12-27 11:37:43.146043+0800 KKJSBridgeDemo[26649:467676] KKJSBridge Receive ajax.setRequestHeader: {
"id" : 993,
"headerName" : "Accept",
"headerValue" : "/"
}
2019-12-27 11:37:43.146208+0800 KKJSBridgeDemo[26649:467893] KKJSBridge Receive ajax.send: {
"id" : 993
}
The text was updated successfully, but these errors were encountered: