Fix Bug
This commit is contained in:
parent
ea01e93fe9
commit
24f9d2afa2
@ -26,8 +26,12 @@ class Server
|
|||||||
}
|
}
|
||||||
$realname=$session->get('realname',null);
|
$realname=$session->get('realname',null);
|
||||||
|
|
||||||
$domain=$url;
|
if(str_starts_with($url, 'http://')||str_starts_with($url, 'https://')){
|
||||||
$domain_name=parse_url($url)['host'];
|
$domain=$url;
|
||||||
|
}else{
|
||||||
|
$domain='http://'.$url;
|
||||||
|
}
|
||||||
|
$domain_name=parse_url($domain)['host'];
|
||||||
|
|
||||||
|
|
||||||
$response = Http::post('https://api.uutool.cn/beian/icp/', ['site' => "$domain"])->json();
|
$response = Http::post('https://api.uutool.cn/beian/icp/', ['site' => "$domain"])->json();
|
||||||
|
@ -142,3 +142,7 @@
|
|||||||
2024-11-07 18:24:36 pid:11244 Workerman[start.php] start in DEBUG mode
|
2024-11-07 18:24:36 pid:11244 Workerman[start.php] start in DEBUG mode
|
||||||
2024-11-07 18:24:39 pid:11244 Workerman[start.php] stopping ...
|
2024-11-07 18:24:39 pid:11244 Workerman[start.php] stopping ...
|
||||||
2024-11-07 18:24:39 pid:11244 Workerman[start.php] has been stopped
|
2024-11-07 18:24:39 pid:11244 Workerman[start.php] has been stopped
|
||||||
|
2024-11-07 21:43:27 pid:46886 Workerman[start.php] start in DEBUG mode
|
||||||
|
2024-11-07 21:43:52 pid:46886 Workerman[start.php] reloading
|
||||||
|
2024-11-07 21:44:17 pid:46886 Workerman[start.php] stopping ...
|
||||||
|
2024-11-07 21:44:17 pid:46886 Workerman[start.php] has been stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user