This commit is contained in:
david 2020-12-12 15:47:08 +08:00
parent dad8afa8d4
commit 60b4939aee

View File

@ -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;