mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-19 09:30:10 +08:00
[fix] scSend
This commit is contained in:
parent
ee9afc6635
commit
d0277f9ddb
@ -268,8 +268,8 @@ class Notice extends SingleTon
|
|||||||
$raw = Request::post('other', $url, $payload);
|
$raw = Request::post('other', $url, $payload);
|
||||||
$de_raw = json_decode($raw, true);
|
$de_raw = json_decode($raw, true);
|
||||||
|
|
||||||
if ($de_raw['errno'] == 0) {
|
if (isset($de_raw['data']['errno']) && $de_raw['data']['errno'] == 0) {
|
||||||
Log::notice("推送消息成功: {$de_raw['errmsg']}");
|
Log::notice("推送消息成功: {$de_raw['data']['errmsg']}");
|
||||||
} else {
|
} else {
|
||||||
Log::warning("推送消息失败: $raw");
|
Log::warning("推送消息失败: $raw");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user