| 1946 | 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.`}`:``}`) |
| 1947 | } |
| 1948 | const time = () => { |
| 1949 | const end = ((Date.now() - start) / 1000).toFixed(2) |
| 1950 | return console.log('\n签到用时: ' + end + ' 秒') |
| 1951 | } |
| 1952 | const done = (value = {}) => { |
| 1953 | if (isQuanX) return $done(value) |
| 1954 | if (isSurge) isRequest ? $done(value) : $done() |