(data)
| 356 | } |
| 357 | // 双平台log输出 |
| 358 | function DoubleLog(data) { |
| 359 | if ($.isNode()) { |
| 360 | if (data) { |
| 361 | console.log(`${data}`); |
| 362 | msg += `\n${data}` |
| 363 | } |
| 364 | } else { |
| 365 | console.log(`${data}`); |
| 366 | msg += `\n${data}` |
| 367 | } |
| 368 | } |
| 369 | // 发送消息 |
| 370 | async function SendMsg(message) { |
| 371 | if (!message) return; |
no test coverage detected