增加brak key
This commit is contained in:
parent
82db3d35fb
commit
fec8545c7a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue