فهرست منبع

fix(阅读报告):添加阅读记录的时候,同步修改用户最后一次阅读报告时间

Roc 4 سال پیش
والد
کامیت
94f3dfccd1
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      controllers/report.go

+ 3 - 0
controllers/report.go

@@ -506,6 +506,9 @@ func (this *ReportController) AddViewRecordReport() {
 		br.ErrMsg = "获取数据失败,Err:" + err.Error()
 		return
 	}
+	//修改联系人最后一次阅读报告时间
+	go models.SetWxUserReportLastViewTime(user.UserId)
+
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "新增成功"