(data)
| 405 | } |
| 406 | // 双平台log输出 |
| 407 | function DoubleLog(data) { |
| 408 | if ($.isNode()) { |
| 409 | if (data) { |
| 410 | console.log(`${data}`); |
| 411 | msg += `\n${data}` |
| 412 | } |
| 413 | } else { |
| 414 | console.log(`${data}`); |
| 415 | msg += `\n${data}` |
| 416 | } |
| 417 | } |
| 418 | // 发送消息 |
| 419 | async function SendMsg(message) { |
| 420 | if (!message) return; |