|
@@ -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:")
|