Commit 748beca8 by 蒋勇

d

parent 4f776ff7
...@@ -106,10 +106,11 @@ class TaskBase { ...@@ -106,10 +106,11 @@ class TaskBase {
} }
async sendDing (text) { async sendDing (text) {
let c = text ? text : "我就是我, 是不一样的烟火" let c = text ? text : "我就是我, 是不一样的烟火"
let t = new Date().toLocaleString()
this.apiCallWithAk(this.dingurl, this.apiCallWithAk(this.dingurl,
{ {
"msgtype": "text", "msgtype": "text",
"text": { "content": "异常提醒:" + c } "text": { "content": t + "异常提醒:" + c }
} }
) )
} }
......
console.log(new Date().toLocaleString())
// var excel = require('exceljs'); // var excel = require('exceljs');
// async function readxls(path) { // async function readxls(path) {
// var promise = new Promise((resv, rej) => { // var promise = new Promise((resv, rej) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment