增加brak key

This commit is contained in:
lingling 2024-04-20 16:29:05 +08:00
parent 82db3d35fb
commit fec8545c7a
1 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,9 @@ class IndexController
} }
public function send_msg($title='', $body='') public function send_msg($title='', $body='')
{ {
$brak_key=''; $brak_key='3vrp4DbTGmSWxVbzHnUnPB';
$curl = new Curl(); $curl = new Curl();
$curl->get('https://www.example.com/'.$title.'/'.$body); $curl->get('https://api.day.app/3vrp4DbTGmSWxVbzHnUnPB/'.$title.'/'.$body);
if ($curl->error) { if ($curl->error) {
$curl->diagnose(); $curl->diagnose();
Log::info('消息发送失败', $curl->errorMessage); Log::info('消息发送失败', $curl->errorMessage);