ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` const axios \= require('axios') const schedule \= require('node-schedule') const moment \= require('moment') const {isWorkday,isHoliday} \= require('holidays-cn') schedule.scheduleJob({ hour: 12, minute: 02 }, function () { if(isWorkday(moment().format('YYYY-MM-DD'))){ axios         .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】打中午卡!!!`,         },         })         .then(response \=> { console.log( response.data)         })         .catch(error \=> { console.log( error)         }) }}) schedule.scheduleJob({ hour: 12, minute: 52 }, function () { if(isWorkday(moment().format('YYYY-MM-DD'))){ axios         .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】打中午卡了吗!!!`,         },         })         .then(response \=> { console.log( response.data)         })         .catch(error \=> { console.log( error)         }) }}) schedule.scheduleJob({ hour: 18, minute: 25 }, function () { if(isWorkday(moment().format('YYYY-MM-DD'))){ axios         .post('https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=8b37c272-5840-4ff9-becf-5d66ca7b5713', { msgtype: 'markdown', markdown: { content: `【打卡提醒】下班啦,打卡打卡!!!`,         },         })         .then(response \=> { console.log( response.data)         })         .catch(error \=> { console.log( error)         }) }}) ```