|
...
|
...
|
@@ -495,9 +495,8 @@ class OptimizeController extends BaseController |
|
|
|
$aiBlogModel = new AiBlog();
|
|
|
|
$list = $aiBlogModel->list(['route'=>['!=',null]],'id',['route','new_title']);
|
|
|
|
if(!empty($list)){
|
|
|
|
$DomainInfo['domain'] = $DomainInfo['domain'] ?? '';
|
|
|
|
foreach ($list as $v){
|
|
|
|
$data['ai_blog'][] = ('https://'.$DomainInfo['domain'].'/') . 'blog/' . $v['route'] . '/{' . $v['new_title'] . '}';
|
|
|
|
$data['ai_blog'][] = $domain . 'blog/' . $v['route'] . '/{' . $v['new_title'] . '}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
DB::disconnect('custom_mysql');
|
...
|
...
|
|