Browse Source

Merge branch 'fix_bug_2021_11_12_10_45' of hongze/hongze_cygx into master

hongze 3 years ago
parent
commit
e41678e2d3
1 changed files with 1 additions and 3 deletions
  1. 1 3
      services/article.go

+ 1 - 3
services/article.go

@@ -12,7 +12,6 @@ import (
 	nhttp "net/http"
 	"strconv"
 	"strings"
-	"time"
 )
 
 func GetReportContentSub(content string) (contentSub string, err error) {
@@ -428,9 +427,8 @@ func GetArticleListByApi(cont context.Context) (err error) {
 		}
 		v.Department = "弘则权益研究"
 		fmt.Println(k, v.ArticleId)
-		hh, _ := time.ParseDuration("8h")
 		//pDate := publishDate.Add(hh)
-		v.PublishDate = v.PublishDate.Add(hh)
+		v.PublishDate = v.PublishDate
 		//判断是否已经存在
 		if v.ArticleId < 0 {
 			fmt.Println("AddCygxArticle Err:")