Commit 0ade885a authored by wildfirecode's avatar wildfirecode

1

parent 97cd3ad1
......@@ -31,7 +31,7 @@ export abstract class ABNetManager {
if (net.addUrl) {
realUrl += net.addUrl;
}
console.log(`[send][${net.uri}]${JSON.stringify(net.param)}`)
window['$'].ajax({
type: net.type,
// url: realUrl + gTime,
......@@ -40,6 +40,7 @@ export abstract class ABNetManager {
data: net.param,
async: true,
success: (result) => {
console.log(`[success][${net.uri}]${JSON.stringify(result)}`)
this.onResponse(net, result);
},
error: (message) => {
......
......@@ -46,4 +46,4 @@ setTimeout(() => {
}
});
}, 10);
\ No newline at end of file
}, 500);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment