正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
| @@ -291,7 +291,7 @@ class OptimizationReportController extends BaseController | @@ -291,7 +291,7 @@ class OptimizationReportController extends BaseController | ||
| 291 | //复制站点域名 | 291 | //复制站点域名 |
| 292 | $ext_projects = $this->getExtendProjects(); | 292 | $ext_projects = $this->getExtendProjects(); |
| 293 | $flg_ext = $this->getExtFlag($ext_projects, $domain, $api_no); | 293 | $flg_ext = $this->getExtFlag($ext_projects, $domain, $api_no); |
| 294 | - $ext_domain = str_replace('www.', '', $this->getExtendProjects($api_no)['ext'] ?? '');//关联域名 | 294 | + $ext_domain = explode(',', str_replace('www.', '', $this->getExtendProjects($api_no)['ext'] ?? ''));//关联域名 |
| 295 | //关联域名 | 295 | //关联域名 |
| 296 | $relate_domain = str_replace('www.', '', InquiryRelateDomain::getRelateDomain($domain, 'globalso_domain')); | 296 | $relate_domain = str_replace('www.', '', InquiryRelateDomain::getRelateDomain($domain, 'globalso_domain')); |
| 297 | //AI站点域名 | 297 | //AI站点域名 |
| @@ -316,11 +316,11 @@ class OptimizationReportController extends BaseController | @@ -316,11 +316,11 @@ class OptimizationReportController extends BaseController | ||
| 316 | $domain_text = 'AI域名:' . $last['r']; | 316 | $domain_text = 'AI域名:' . $last['r']; |
| 317 | if (in_array($flg_ext, [1, 2]) || $flg_ai == 1) { | 317 | if (in_array($flg_ext, [1, 2]) || $flg_ai == 1) { |
| 318 | if ($last['r'] == $ai_domain) { | 318 | if ($last['r'] == $ai_domain) { |
| 319 | - $domain_text = '星链域名:' . $ai_domain; | ||
| 320 | - } else if ($last['r'] == $ext_domain) { | ||
| 321 | - $domain_text = '主域名2:' . $ext_domain; | 319 | + $domain_text = '星链域名:' . $last['r']; |
| 320 | + } else if (in_array($last['r'], $ext_domain)) { | ||
| 321 | + $domain_text = '主域名2:' . $last['r']; | ||
| 322 | } else if ($last['r'] == $relate_domain) { | 322 | } else if ($last['r'] == $relate_domain) { |
| 323 | - $domain_text = '主域名2:' . $relate_domain; | 323 | + $domain_text = '主域名2:' . $last['r']; |
| 324 | } else { | 324 | } else { |
| 325 | $domain_text = 'AI域名:' . $last['r']; | 325 | $domain_text = 'AI域名:' . $last['r']; |
| 326 | } | 326 | } |
-
请 注册 或 登录 后发表评论