ziwen 2 years ago
parent
commit
959e496b79
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/report.go

+ 2 - 2
controllers/report.go

@@ -400,7 +400,7 @@ func (this *ReportController) ArticleCategoryList() {
 		}
 		var recordItem *models.CygxPageHistoryRecord
 		if count > 0 {
-			recordItem, err = models.GetTimeLineRecordItem(user.UserId, industrialManagementId, time.Now().Format(utils.FormatDate))
+			recordItem, err = models.GetTimeLineRecordItem(user.UserId, industrialManagementId)
 			if err != nil {
 				br.Msg = "查询浏览记录失败"
 				br.ErrMsg = "查询浏览记录失败,Err:" + err.Error()
@@ -674,7 +674,7 @@ func (this *ReportController) List() {
 		}
 		var recordItem *models.CygxPageHistoryRecord
 		if count > 0 {
-			recordItem, err = models.GetTimeLineRecordItem(user.UserId, industrialManagementId, time.Now().Format(utils.FormatDate))
+			recordItem, err = models.GetTimeLineRecordItem(user.UserId, industrialManagementId)
 			if err != nil {
 				br.Msg = "查询浏览记录失败"
 				br.ErrMsg = "查询浏览记录失败,Err:" + err.Error()