|
@@ -12,6 +12,7 @@ import (
|
|
|
nhttp "net/http"
|
|
|
"strconv"
|
|
|
"strings"
|
|
|
+ "time"
|
|
|
)
|
|
|
|
|
|
func GetReportContentSub(content string) (contentSub string, err error) {
|
|
@@ -332,6 +333,7 @@ func GetArticleListByApi(cont context.Context) (err error) {
|
|
|
var listAuthor []*models.CygxArticleAuthor
|
|
|
for _, v := range listData {
|
|
|
if exitMap[v.SeriesId] > 0 {
|
|
|
+ v.PublishDate = time.Date(v.PublishDate.Year(), v.PublishDate.Month(), v.PublishDate.Day(), v.PublishDate.Hour(), v.PublishDate.Minute(), v.PublishDate.Second(), v.PublishDate.Nanosecond(), time.Local)
|
|
|
item := new(models.Tactics2)
|
|
|
itemAuthor := new(models.CygxArticleAuthor)
|
|
|
item.ArticleId = v.ArticleId
|