Authored by 杨延青

Merge branch 'feature/robot' into 'master'

update dingding robot



See merge request !10
... ... @@ -20,7 +20,7 @@ module.exports = (text) => {
};
return rp({
uri: 'https://oapi.dingtalk.com/robot/send?access_token=0b14a14f6d2a3eae2a63d56a975b7ee2d7f2aad6f1782543196687cbe18fabda',
uri: 'https://oapi.dingtalk.com/robot/send?access_token=499f845e894e0aebb6d29ec9f3b186cbb99bfa89cd4347fa4c0e8efd4081ecd5',
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=utf-8'
... ...
... ... @@ -35,11 +35,11 @@ module.exports = async() => {
if (!match || match[1] !== version) {
if (!match) {
logger.info('[check-du-task] 未查询到version');
ddAlert('【爬虫-毒页面检测】未查询到version @18661200251');
ddAlert('【爬虫-毒页面检测】未查询到version @18752098068');
return;
}
logger.info(`[check-du-task] 页面版本发生变化,应该为:${version},实际为:${match[1]}`);
ddAlert(`【爬虫-毒页面检测】毒页面接口版本发生变化,应该为:${version},实际为:${match[1]} @18661200251`);
ddAlert(`【爬虫-毒页面检测】毒页面接口版本发生变化,应该为:${version},实际为:${match[1]} @18752098068`);
return;
}
logger.info('[check-du-task] pass');
... ...