|
@@ -393,7 +393,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()
|
|
@@ -668,7 +668,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()
|