| 1938 | return console.log(`\n‼️${name}发生错误\n‼️名称: ${er.name}\n‼️描述: ${er.message}${JSON.stringify(er).match(/\"line\"/)?`\n‼️行列: ${JSON.stringify(er)}`:``}${resp&&resp.status?`\n‼️状态: ${resp.status}`:``}${body?`\n‼️响应: ${resp&&resp.status!=503?body:`Omit.`}`:``}`) |
| 1939 | } |
| 1940 | const time = () => { |
| 1941 | const end = ((Date.now() - start) / 1000).toFixed(2) |
| 1942 | return console.log('\n签到用时: ' + end + ' 秒') |
| 1943 | } |
| 1944 | const done = (value = {}) => { |
| 1945 | if (isQuanX) return $done(value) |
| 1946 | if (isSurge) isRequest ? $done(value) : $done() |