Prechádzať zdrojové kódy

Merge branch 'bugfix_8.4'

ziwen 1 rok pred
rodič
commit
70ef3cb4f3
1 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  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)