作者 lyh

gx生成评论

@@ -43,7 +43,8 @@ class RemainDay extends Command @@ -43,7 +43,8 @@ class RemainDay extends Command
43 1893, 43 1893,
44 2066, 44 2066,
45 2250, 45 2250,
46 - 2193 46 + 2193,
  47 + 2399
47 ];//需要单独处理的项目 48 ];//需要单独处理的项目
48 /** 49 /**
49 * The console command description. 50 * The console command description.
@@ -53,6 +53,7 @@ class InitKeywordComment extends Command @@ -53,6 +53,7 @@ class InitKeywordComment extends Command
53 $aiCommonModel = new AiCommand(); 53 $aiCommonModel = new AiCommand();
54 $info = $aiCommonModel->read(['key'=>'tag_comment']); 54 $info = $aiCommonModel->read(['key'=>'tag_comment']);
55 $text = Gpt::instance()->openai_chat_qqs($info['ai']); 55 $text = Gpt::instance()->openai_chat_qqs($info['ai']);
  56 + $text = Common::deal_keywords($text);
56 dd($text); 57 dd($text);
57 preg_match_all('/\{[^{}]*\}/', $text, $matches); 58 preg_match_all('/\{[^{}]*\}/', $text, $matches);
58 if(!empty($text)){ 59 if(!empty($text)){
@@ -553,7 +553,7 @@ class RankDataLogic extends BaseLogic @@ -553,7 +553,7 @@ class RankDataLogic extends BaseLogic
553 $without_extension_project_ids = [658]; //是否达标只统计主词的 553 $without_extension_project_ids = [658]; //是否达标只统计主词的
554 $extension_project_ids = [354]; //扩展词也到达标的 554 $extension_project_ids = [354]; //扩展词也到达标的
555 $compliance_project_ids = [2163,257,823,1750,497]; //直接达标处理的 555 $compliance_project_ids = [2163,257,823,1750,497]; //直接达标处理的
556 - $ceaseProjectId = [354, 378, 649, 1226, 1283, 1703, 1893, 2066, 2250,2193];//暂停的项目 556 + $ceaseProjectId = [354, 378, 649, 1226, 1283, 1703, 1893, 2066, 2250,2193,2399];//暂停的项目
557 $uptimeProjectId = [1434,1812,276,2414,2974];//按上线时间统计的项目 557 $uptimeProjectId = [1434,1812,276,2414,2974];//按上线时间统计的项目
558 //一个项目多个api_no 558 //一个项目多个api_no
559 $multiple_api_no_project_ids = [ 559 $multiple_api_no_project_ids = [