|
@@ -739,12 +739,12 @@ func HandleArticleListByApi(artcleId int) (err error) {
|
|
fmt.Println("Getres.PublicGetDate Err:", err.Error())
|
|
fmt.Println("Getres.PublicGetDate Err:", err.Error())
|
|
return err
|
|
return err
|
|
}
|
|
}
|
|
- //item := new(models.CygxShanghaiCompanyLog)
|
|
|
|
- //item.CreateTime = time.Now()
|
|
|
|
- //item.Url = clueApiUrl
|
|
|
|
- //item.Body = ""
|
|
|
|
- //item.Result = string(body)
|
|
|
|
- //go models.AddCygxShanghaiCompanyLog(item)
|
|
|
|
|
|
+ item := new(models.CygxShanghaiCompanyLog)
|
|
|
|
+ item.CreateTime = time.Now()
|
|
|
|
+ item.Url = clueApiUrl
|
|
|
|
+ item.Body = ""
|
|
|
|
+ item.Result = string(body)
|
|
|
|
+ go models.AddCygxShanghaiCompanyLog(item)
|
|
go models.UpdateCygxArticleCeluePush(artcleId)
|
|
go models.UpdateCygxArticleCeluePush(artcleId)
|
|
articleResult := articleResultDate.Data
|
|
articleResult := articleResultDate.Data
|
|
|
|
|