|
...
|
...
|
@@ -215,11 +215,11 @@ class DomainInfoLogic extends BaseLogic |
|
|
|
}
|
|
|
|
|
|
|
|
//域名是否都已经解析
|
|
|
|
if(!$this->check_cname($info['domain'], $server_info)){
|
|
|
|
if($info['domain'] && !$this->check_cname($info['domain'], $server_info)){
|
|
|
|
$this->fail('域名' . $info['domain'] . '未解析至目标服务器');
|
|
|
|
}
|
|
|
|
foreach ($this->param['other_domain']??[] as $other_domain){
|
|
|
|
if(!$this->check_cname($other_domain, $server_info)){
|
|
|
|
if($other_domain && !$this->check_cname($other_domain, $server_info)){
|
|
|
|
$this->fail('域名' . $other_domain . '未解析至目标服务器');
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|