mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-19 16:05:21 +00:00
fix
This commit is contained in:
parent
dad8afa8d4
commit
60b4939aee
@ -747,11 +747,6 @@ class AutoReseed
|
|||||||
if (empty($configALL[$siteName]) || empty($configALL[$siteName][$item])) {
|
if (empty($configALL[$siteName]) || empty($configALL[$siteName][$item])) {
|
||||||
$msg = '-------因当前' .$siteName. "站点未设置".$item.",已跳过!!".PHP_EOL.PHP_EOL;
|
$msg = '-------因当前' .$siteName. "站点未设置".$item.",已跳过!!".PHP_EOL.PHP_EOL;
|
||||||
echo $msg;
|
echo $msg;
|
||||||
// 调试代码:begin
|
|
||||||
if ($siteName == 'pthome') {
|
|
||||||
sleepIYUU(10, $msg);
|
|
||||||
}
|
|
||||||
// 调试代码:end
|
|
||||||
self::$wechatMsg['reseedSkip']++;
|
self::$wechatMsg['reseedSkip']++;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1047,7 +1042,7 @@ class AutoReseed
|
|||||||
'timestamp' => time(),
|
'timestamp' => time(),
|
||||||
'version' => self::VER,
|
'version' => self::VER,
|
||||||
'site' => $site,
|
'site' => $site,
|
||||||
'uid' => $configALL[$site]['id']
|
'uid' => isset($configALL[$site]['id']) ? $configALL[$site]['id'] : 0,
|
||||||
];
|
];
|
||||||
$res = self::$curl->get(self::$apiUrl . self::$endpoints['getSign'], $data);
|
$res = self::$curl->get(self::$apiUrl . self::$endpoints['getSign'], $data);
|
||||||
$ret = json_decode($res->response, true);
|
$ret = json_decode($res->response, true);
|
||||||
@ -1060,7 +1055,7 @@ class AutoReseed
|
|||||||
$configALL[$site][$expireKEY] = time() + $expire - 60; // 提前60秒过期
|
$configALL[$site][$expireKEY] = time() + $expire - 60; // 提前60秒过期
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo $site.' 很抱歉,请求IYUU辅种签名时失败啦,请稍后重新尝试辅种!'.PHP_EOL;
|
echo $site.' 很抱歉,请求IYUU辅种签名时失败啦,请稍后重新尝试辅种!详情:'.$ret['msg'].PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $signString;
|
return $signString;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user