mirror of
https://github.com/zjk2017/ArcadiaScriptPublic.git
synced 2025-12-22 18:04:35 +08:00
Update 牙e家.js
This commit is contained in:
10
牙e家.js
10
牙e家.js
@@ -204,18 +204,18 @@ async function req(api) {
|
|||||||
log(`\n\n【debug】===============这是 返回data==============`);
|
log(`\n\n【debug】===============这是 返回data==============`);
|
||||||
log(data)
|
log(data)
|
||||||
}
|
}
|
||||||
if (data.result == 0) {
|
// if (data.result == 0) {
|
||||||
|
|
||||||
} else
|
// } else
|
||||||
log(data)
|
// log(data)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log(`异常:${data},原因:${data.message}`)
|
// log(`异常:${data},原因:${data.message}`)
|
||||||
}
|
}
|
||||||
}).catch(function(error) {
|
}).catch(function(error) {
|
||||||
console.error(error);
|
// console.error(error);
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
//这里处理正确返回
|
//这里处理正确返回
|
||||||
resolve();
|
resolve();
|
||||||
|
|||||||
Reference in New Issue
Block a user