正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -345,8 +345,8 @@ class UpdateSeoTdk extends Command | @@ -345,8 +345,8 @@ class UpdateSeoTdk extends Command | ||
| 345 | } | 345 | } |
| 346 | if(empty($v['description'])){ | 346 | if(empty($v['description'])){ |
| 347 | $name = $this->companyName($project_id); | 347 | $name = $this->companyName($project_id); |
| 348 | -// if(!empty($name)){ | ||
| 349 | - $data['description'] = $this->ai_send('page_meta_description',$v['name']); | 348 | + if(!empty($name)){ |
| 349 | + $data['description'] = $this->ai_send('page_meta_description',$v['name'],$name); | ||
| 350 | // } | 350 | // } |
| 351 | } | 351 | } |
| 352 | if(!$data){ | 352 | if(!$data){ |
-
请 注册 或 登录 后发表评论