|
...
|
...
|
@@ -16,6 +16,7 @@ use App\Models\Domain\DomainInfo; |
|
|
|
use App\Models\HomeCount\Count;
|
|
|
|
use App\Models\HomeCount\MonthCount;
|
|
|
|
use App\Models\Inquiry\InquiryFormData;
|
|
|
|
use App\Models\Inquiry\InquiryRelateDomain;
|
|
|
|
use App\Models\Project\Project;
|
|
|
|
use App\Models\RankData\ExternalLinks;
|
|
|
|
use App\Models\RankData\IndexedPages;
|
|
...
|
...
|
@@ -290,7 +291,9 @@ class OptimizationReportController extends BaseController |
|
|
|
//复制站点域名
|
|
|
|
$ext_projects = $this->getExtendProjects();
|
|
|
|
$flg_ext = $this->getExtFlag($ext_projects, $domain, $api_no);
|
|
|
|
$ext_domain = str_replace('www.', '', $this->getExtendProjects($api_no)['ext'] ?? '');
|
|
|
|
$ext_domain = str_replace('www.', '', $this->getExtendProjects($api_no)['ext'] ?? '');//关联域名
|
|
|
|
//关联域名
|
|
|
|
$relate_domain = str_replace('www.', '', InquiryRelateDomain::getRelateDomain($domain)['globalso_domain']??"");
|
|
|
|
//AI站点域名
|
|
|
|
$ai_projects = $this->getAiProjects()['data'] ?? [];
|
|
|
|
$flg_ai = $this->getAiFlag($ai_projects, $domain);
|
|
...
|
...
|
@@ -316,6 +319,8 @@ class OptimizationReportController extends BaseController |
|
|
|
$domain_text = '星链域名:' . $ai_domain;
|
|
|
|
} else if ($last['r'] == $ext_domain) {
|
|
|
|
$domain_text = '主域名2:' . $ext_domain;
|
|
|
|
} else if ($last['r'] == $relate_domain) {
|
|
|
|
$domain_text = '主域名2:' . $relate_domain;
|
|
|
|
} else {
|
|
|
|
$domain_text = 'AI域名:' . $last['r'];
|
|
|
|
}
|
...
|
...
|
|