|
...
|
...
|
@@ -147,7 +147,7 @@ class UpdateSeoTdk extends Command |
|
|
|
'gl_blog' => 'name',
|
|
|
|
'gl_blog_category' => 'name',
|
|
|
|
'gl_ai_blog' => 'new_title',
|
|
|
|
'gl_ai_blog_list' => '', //直接使用 top blog
|
|
|
|
'gl_ai_blog_list' => 'seo_title',
|
|
|
|
'gl_ai_blog_author' => 'title',
|
|
|
|
'gl_news' => 'name',
|
|
|
|
'gl_news_category' => 'name',
|
|
...
|
...
|
@@ -457,6 +457,9 @@ class UpdateSeoTdk extends Command |
|
|
|
// topic
|
|
|
|
if(strpos($prompt, '{topic}') !== false){
|
|
|
|
$topic = $data[$this->topic_fields[$table]] ?? '';
|
|
|
|
if($table == 'gl_ai_blog_list'){
|
|
|
|
$topic = 'top blog';
|
|
|
|
}
|
|
|
|
if(!$topic){
|
|
|
|
echo getmypid() . ' ' . 'topic为空 跳过' . PHP_EOL;
|
|
|
|
return false;
|
...
|
...
|
|