()
| 31 | console.log(`=========== 脚本执行-北京时间(UTC+8):${new Date(new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000).toLocaleString()} ===========\n`) |
| 32 | } |
| 33 | done() { |
| 34 | let timestamp = new Date().getTime(); |
| 35 | let work = ((timestamp - this.timestamp) / 1000).toFixed(2) |
| 36 | console.log(`=========================脚本执行完成,耗时${work}s============================\n`) |
| 37 | console.log(`🔔${this.name}, 结束!\n`) |
| 38 | } |
| 39 | notify(array) { |
| 40 | let text = ''; |
| 41 | for (let i of array) { |