(data)
| 848 | } |
| 849 | // 双平台log输出 |
| 850 | function DoubleLog(data) { |
| 851 | if ($.isNode()) { |
| 852 | if (data) { |
| 853 | console.log(`${data}`); |
| 854 | msg += `\n${data}`; |
| 855 | } |
| 856 | } else { |
| 857 | console.log(`${data}`); |
| 858 | msg += `\n${data}`; |
| 859 | } |
| 860 | } |
| 861 | // 发送消息 |
| 862 | async function SendMsg(message) { |
| 863 | if (!message) return; |
no test coverage detected