作者 lyh

gx指令

@@ -32,7 +32,7 @@ class AiCommandController extends BaseController @@ -32,7 +32,7 @@ class AiCommandController extends BaseController
32 if($this->param['key'] == 'keyword_seo_title'){ 32 if($this->param['key'] == 'keyword_seo_title'){
33 $prefix = getPrefixKeyword($this->user['project_id'], 'prefix', 1); 33 $prefix = getPrefixKeyword($this->user['project_id'], 'prefix', 1);
34 $suffix = getPrefixKeyword($this->user['project_id'], 'suffix', 2); 34 $suffix = getPrefixKeyword($this->user['project_id'], 'suffix', 2);
35 - $text = $prefix . ' ' . $this->param['keyword']. ' ' . $suffix; 35 + $text = $prefix . ' ' . $this->param['keywords']. ' ' . $suffix;
36 $data = [ 36 $data = [
37 'code' => 200, 37 'code' => 200,
38 'text' => $text 38 'text' => $text