Commit 0ade885a authored by wildfirecode's avatar wildfirecode

1

parent 97cd3ad1
...@@ -31,7 +31,7 @@ export abstract class ABNetManager { ...@@ -31,7 +31,7 @@ export abstract class ABNetManager {
if (net.addUrl) { if (net.addUrl) {
realUrl += net.addUrl; realUrl += net.addUrl;
} }
console.log(`[send][${net.uri}]${JSON.stringify(net.param)}`)
window['$'].ajax({ window['$'].ajax({
type: net.type, type: net.type,
// url: realUrl + gTime, // url: realUrl + gTime,
...@@ -40,6 +40,7 @@ export abstract class ABNetManager { ...@@ -40,6 +40,7 @@ export abstract class ABNetManager {
data: net.param, data: net.param,
async: true, async: true,
success: (result) => { success: (result) => {
console.log(`[success][${net.uri}]${JSON.stringify(result)}`)
this.onResponse(net, result); this.onResponse(net, result);
}, },
error: (message) => { error: (message) => {
......
...@@ -46,4 +46,4 @@ setTimeout(() => { ...@@ -46,4 +46,4 @@ setTimeout(() => {
} }
}); });
}, 10); }, 500);
\ No newline at end of file \ 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