zwxi 10 месяцев назад
Родитель
Сommit
0fcd30a28c
2 измененных файлов с 5 добавлено и 5 удалено
  1. 4 4
      services/cygx_research_summary.go
  2. 1 1
      services/task.go

+ 4 - 4
services/cygx_research_summary.go

@@ -440,8 +440,8 @@ func CygxResearchSummary(cont context.Context) (err error) {
 
 		//消费
 		{
-			//98:消费问答
-			newCondition := condition + ` AND category_id_two IN(10080) `
+			//10083:消费问答
+			newCondition := condition + ` AND category_id_two IN(10083) `
 			list, e := data_manage.GetReportArticleList(newCondition, pars)
 			if e != nil {
 				err = e
@@ -455,8 +455,8 @@ func CygxResearchSummary(cont context.Context) (err error) {
 
 		//智造
 		{
-			//98:问道
-			newCondition := condition + ` AND category_id_two IN(10081) `
+			//10084:问道
+			newCondition := condition + ` AND category_id_two IN(10084) `
 			list, e := data_manage.GetReportArticleList(newCondition, pars)
 			if e != nil {
 				err = e

+ 1 - 1
services/task.go

@@ -168,7 +168,7 @@ func Task() {
 	//task.AddTask("定时发布英文研报", publishEnglishReport)
 
 	// 定时生成本周研究汇总
-	cygxResearchSummary := task.NewTask("cygxResearchSummary", "0 0 15 * * 5", CygxResearchSummary)
+	cygxResearchSummary := task.NewTask("cygxResearchSummary", "0 0 13 * * 5", CygxResearchSummary)
 	task.AddTask("定时生成本周研究汇总", cygxResearchSummary)
 
 	// 定时生成上周纪要汇总