ziwen 2 年之前
父節點
當前提交
959e496b79
共有 1 個文件被更改,包括 2 次插入2 次删除
  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()