作者 刘锟

update

@@ -93,13 +93,13 @@ class GeoWritingsTaskLogic extends BaseLogic @@ -93,13 +93,13 @@ class GeoWritingsTaskLogic extends BaseLogic
93 $prefix = isset($this->param['prefix']) && $this->param['prefix'] ? $this->param['prefix'] : ''; 93 $prefix = isset($this->param['prefix']) && $this->param['prefix'] ? $this->param['prefix'] : '';
94 $keyword = isset($this->param['keyword']) && $this->param['keyword'] ? $this->param['keyword'] : ''; 94 $keyword = isset($this->param['keyword']) && $this->param['keyword'] ? $this->param['keyword'] : '';
95 $suffix = isset($this->param['suffix']) && $this->param['suffix'] ? $this->param['suffix'] : ''; 95 $suffix = isset($this->param['suffix']) && $this->param['suffix'] ? $this->param['suffix'] : '';
96 - $event_content = isset($this->param['event_content']) && $this->param['event_content'] ? $this->param['event_content'] : ''; 96 + $event_title = isset($this->param['event_title']) && $this->param['event_title'] ? $this->param['event_title'] : '';
97 $desc = '帮我写1个有吸引力的英文新闻标题,并确保这个标题在Google上面唯一存在的,只需要回复我标题,不需要别的内容(比如序号、你的提示、寒暄、解释、注释之类的),标题不要超过100字符数。'; 97 $desc = '帮我写1个有吸引力的英文新闻标题,并确保这个标题在Google上面唯一存在的,只需要回复我标题,不需要别的内容(比如序号、你的提示、寒暄、解释、注释之类的),标题不要超过100字符数。';
98 98
99 $config_title = [ 99 $config_title = [
100 "brand" => "请根据公司品牌词:{$brand}", 100 "brand" => "请根据公司品牌词:{$brand}",
101 "keyword" => "和这个公司产品的关键词:{$prefix}{$keyword}{$suffix}", 101 "keyword" => "和这个公司产品的关键词:{$prefix}{$keyword}{$suffix}",
102 - "event_content" => "以及公司参与的事件内容:{$event_content}", 102 + "event_title" => "以及公司参与的事件:{$event_title}",
103 "desc" => $desc 103 "desc" => $desc
104 ]; 104 ];
105 foreach ($config_title as $k => $v) { 105 foreach ($config_title as $k => $v) {
@@ -121,6 +121,7 @@ class GeoWritingsTaskLogic extends BaseLogic @@ -121,6 +121,7 @@ class GeoWritingsTaskLogic extends BaseLogic
121 { 121 {
122 $title = isset($this->param['title']) && $this->param['title'] ? $this->param['title'] : ''; 122 $title = isset($this->param['title']) && $this->param['title'] ? $this->param['title'] : '';
123 $description = isset($this->param['description']) && $this->param['description'] ? $this->param['description'] : ''; 123 $description = isset($this->param['description']) && $this->param['description'] ? $this->param['description'] : '';
  124 + $event_title = isset($this->param['event_title']) && $this->param['event_title'] ? $this->param['event_title'] : '';
124 $event_content = isset($this->param['event_content']) && $this->param['event_content'] ? $this->param['event_content'] : ''; 125 $event_content = isset($this->param['event_content']) && $this->param['event_content'] ? $this->param['event_content'] : '';
125 $keyword = isset($this->param['keyword']) && $this->param['keyword'] ? $this->param['keyword'] : ''; 126 $keyword = isset($this->param['keyword']) && $this->param['keyword'] ? $this->param['keyword'] : '';
126 $prefix = isset($this->param['prefix']) && $this->param['prefix'] ? $this->param['prefix'] : ''; 127 $prefix = isset($this->param['prefix']) && $this->param['prefix'] ? $this->param['prefix'] : '';
@@ -135,7 +136,8 @@ class GeoWritingsTaskLogic extends BaseLogic @@ -135,7 +136,8 @@ class GeoWritingsTaskLogic extends BaseLogic
135 $config_introduction = [ 136 $config_introduction = [
136 "title" => "请根据这个文章标题:{$title}", 137 "title" => "请根据这个文章标题:{$title}",
137 "description" => "并同时参考公司的介绍:{$description}", 138 "description" => "并同时参考公司的介绍:{$description}",
138 - "event_content" => "以及公司参与的事件内容:{$event_content}", 139 + "event_title" => "结合公司参与的事件:{$event_title}",
  140 + "event_content" => "以及公司参与事件的详细内容:{$event_content}",
139 "introduction" => $introduction, 141 "introduction" => $introduction,
140 "industry" => "引言内容请参考并引用'{$industry}'行业的一些专业数据报告", 142 "industry" => "引言内容请参考并引用'{$industry}'行业的一些专业数据报告",
141 "character" => $character, 143 "character" => $character,
@@ -156,7 +158,8 @@ class GeoWritingsTaskLogic extends BaseLogic @@ -156,7 +158,8 @@ class GeoWritingsTaskLogic extends BaseLogic
156 $config_content = [ 158 $config_content = [
157 "title" => "请根据这个文章标题:{$title}", 159 "title" => "请根据这个文章标题:{$title}",
158 "description" => "并同时参考公司的介绍:{$description}", 160 "description" => "并同时参考公司的介绍:{$description}",
159 - "event_content" => "以及公司参与的事件内容:{$event_content}", 161 + "event_title" => "结合公司参与的事件:{$event_title}",
  162 + "event_content" => "以及公司参与事件的详细内容:{$event_content}",
160 "content" => $content, 163 "content" => $content,
161 "keyword" => "正文内容请参考并引用'{$prefix}{$keyword}{$suffix}'行业的一些专业数据报告", 164 "keyword" => "正文内容请参考并引用'{$prefix}{$keyword}{$suffix}'行业的一些专业数据报告",
162 "character" => $character, 165 "character" => $character,