mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-19 01:20:08 +08:00
commit
b96db4aec7
@ -48,6 +48,7 @@ class Dynamic
|
||||
Log::info("获取关键字 $t_name - $t_id");
|
||||
$url = 'https://api.vc.bilibili.com/topic_svr/v1/topic_svr/topic_new?topic_id=' . $t_id;
|
||||
$data = Curl::request('get', $url);
|
||||
if (is_null($data)) continue;
|
||||
$data = json_decode($data, true);
|
||||
|
||||
// new
|
||||
|
||||
@ -76,7 +76,7 @@ class GroupSignIn
|
||||
if ($de_raw['code'] == '710001') {
|
||||
Log::warning('在应援团{' . $groupInfo['group_name'] . '}中签到失败, 亲密度已达上限');
|
||||
} else {
|
||||
print_r($de_raw);
|
||||
// print_r($de_raw);
|
||||
Log::warning('在应援团{' . $groupInfo['group_name'] . '}中签到失败, 原因待查');
|
||||
}
|
||||
return false;
|
||||
|
||||
@ -93,7 +93,7 @@ class Live
|
||||
];
|
||||
$raw = Curl::get('other', $url, $payload);
|
||||
$de_raw = json_decode($raw, true);
|
||||
print_r($de_raw);
|
||||
// print_r($de_raw);
|
||||
if ($de_raw['code'] != '0') {
|
||||
return 23058;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user