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