浏览代码

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

Roc 3 年之前
父节点
当前提交
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 = "新增成功"