|
@@ -2476,7 +2476,7 @@ func (this *ReportController) SearchReport() {
|
|
keyWordItem.PageType = "ReortSearch"
|
|
keyWordItem.PageType = "ReortSearch"
|
|
keyWordItem.CreateTime = time.Now()
|
|
keyWordItem.CreateTime = time.Now()
|
|
go models.AddUserSearchKeyWord(keyWordItem)
|
|
go models.AddUserSearchKeyWord(keyWordItem)
|
|
- go services.AddUserSearchLog(user, keyWord, 5)
|
|
|
|
|
|
+ //go services.AddUserSearchLog(user, keyWord, 5)
|
|
}
|
|
}
|
|
if len(listYx) == 0 {
|
|
if len(listYx) == 0 {
|
|
listYx = make([]*models.ArticleCollectionResp, 0)
|
|
listYx = make([]*models.ArticleCollectionResp, 0)
|
|
@@ -2602,8 +2602,6 @@ func (this *ReportController) SearchResource() {
|
|
keyWordItem.PageType = "ReortSearch"
|
|
keyWordItem.PageType = "ReortSearch"
|
|
keyWordItem.CreateTime = time.Now()
|
|
keyWordItem.CreateTime = time.Now()
|
|
go models.AddUserSearchKeyWord(keyWordItem)
|
|
go models.AddUserSearchKeyWord(keyWordItem)
|
|
-
|
|
|
|
- go services.AddUserSearchLog(user, keyWord, 4)
|
|
|
|
}
|
|
}
|
|
|
|
|
|
resp := new(models.SearchResourceResp)
|
|
resp := new(models.SearchResourceResp)
|
|
@@ -2914,7 +2912,7 @@ func (this *ReportController) SearchReportAndResource() {
|
|
keyWordItem.PageType = "ReortSearch"
|
|
keyWordItem.PageType = "ReortSearch"
|
|
keyWordItem.CreateTime = time.Now()
|
|
keyWordItem.CreateTime = time.Now()
|
|
go models.AddUserSearchKeyWord(keyWordItem)
|
|
go models.AddUserSearchKeyWord(keyWordItem)
|
|
- go services.AddUserSearchLog(user, keyWord, 5)
|
|
|
|
|
|
+ //go services.AddUserSearchLog(user, keyWord, 5)
|
|
}
|
|
}
|
|
|
|
|
|
resp.ListHzResource = listHzResource
|
|
resp.ListHzResource = listHzResource
|