ziwen 2 năm trước cách đây
mục cha
commit
959e496b79
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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()