mirror of https://github.com/KingRan/KR.git
parent
0b6460ab9e
commit
0d06d44cd5
|
@ -492,7 +492,7 @@ function TotalBean() {
|
||||||
}
|
}
|
||||||
// 请求
|
// 请求
|
||||||
async function request(function_id, body = {}) {
|
async function request(function_id, body = {}) {
|
||||||
await $.wait(3000); //歇口气儿, 不然会报操作频繁
|
await $.wait(6000); //歇口气儿, 不然会报操作频繁
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
$.post(taskUrl(function_id, body), (err, resp, data) => {
|
$.post(taskUrl(function_id, body), (err, resp, data) => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue