作者 刘锟

update

... ... @@ -150,7 +150,11 @@ class NoticeController extends BaseController
}
if($other_domain){
foreach ($other_domain as $ov) {
foreach ($other_domain as &$ov) {
if(strpos($ov,'http') !== false){
$ov_array = parse_url($ov);
$ov = $ov_array['host'] ?? '';
}
if (!check_domain_record($ov, ['domain'=>'','ip'=>DomainInfo::SERVER_IP_301])) {
return $this->error($ov . ' 未解析至 ' . DomainInfo::SERVER_IP_301);
}
... ...