Browse Source

研究汇总链接修改

ziwen 1 year ago
parent
commit
72c44ad9f0
1 changed files with 5 additions and 5 deletions
  1. 5 5
      services/cygx_research_summary.go

+ 5 - 5
services/cygx_research_summary.go

@@ -158,7 +158,7 @@ func CygxResearchSummary(cont context.Context) (err error) {
 				Body:              head + company + annotation,
 				LinkArticleId:     article.LinkArticleId,
 			}
-			if utils.RunMode == "release" {
+			if utils.RunMode == "debug" {
 				logItem.ReportLink = "https://clpttest.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
 			} else {
 				logItem.ReportLink = "https://web.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
@@ -271,7 +271,7 @@ func CygxResearchSummary(cont context.Context) (err error) {
 				Body:              head + company + annotation,
 				LinkArticleId:     article.LinkArticleId,
 			}
-			if utils.RunMode == "release" {
+			if utils.RunMode == "debug" {
 				logItem.ReportLink = "https://clpttest.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
 			} else {
 				logItem.ReportLink = "https://web.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
@@ -384,7 +384,7 @@ func CygxResearchSummary(cont context.Context) (err error) {
 				Body:              head + company + annotation,
 				LinkArticleId:     article.LinkArticleId,
 			}
-			if utils.RunMode == "release" {
+			if utils.RunMode == "debug" {
 				logItem.ReportLink = "https://clpttest.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
 			} else {
 				logItem.ReportLink = "https://web.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
@@ -705,7 +705,7 @@ func CygxLastWeekSummary(cont context.Context) (err error) {
 				Body:              head + company + annotation,
 				LinkArticleId:     article.LinkArticleId,
 			}
-			if utils.RunMode == "release" {
+			if utils.RunMode == "debug" {
 				logItem.ReportLink = "https://clpttest.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
 			} else {
 				logItem.ReportLink = "https://web.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
@@ -818,7 +818,7 @@ func CygxLastWeekSummary(cont context.Context) (err error) {
 				Body:              head + company + annotation,
 				LinkArticleId:     article.LinkArticleId,
 			}
-			if utils.RunMode == "release" {
+			if utils.RunMode == "debug" {
 				logItem.ReportLink = "https://clpttest.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)
 			} else {
 				logItem.ReportLink = "https://web.hzinsights.com/material/info/" + strconv.Itoa(article.ArticleId)