|
|
@@ -72,10 +72,16 @@ class UpgradeDaily extends Command
|
|
|
'title' => "后台任务",
|
|
|
'message' => "wikipali: 每日统计后台任务执行完毕。用时{$time}",
|
|
|
]);
|
|
|
+ //发送dingding消息
|
|
|
$this->call('message:webhookarticlenew',[
|
|
|
'host' => 'https://oapi.dingtalk.com/robot/send?access_token=34143dbec80a8fc09c1cb5897a5639ee3a9a32ecfe31835ad29bf7013bdb9fdf',
|
|
|
'type' => 'dingtalk',
|
|
|
]);
|
|
|
+ //发送微信消息
|
|
|
+ $this->call('message:webhookarticlenew',[
|
|
|
+ 'host' => 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=25dbd74f-c89c-40e5-8cbc-48b1ef7710b8',
|
|
|
+ 'type' => 'wechat',
|
|
|
+ ]);
|
|
|
}
|
|
|
|
|
|
|