浏览代码

Merge branch 'fix_bug_2021_11_12_10_45' of hongze/hongze_cygx into master

hongze 3 年之前
父节点
当前提交
e41678e2d3
共有 1 个文件被更改,包括 1 次插入3 次删除
  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:")