|
@@ -321,6 +321,7 @@ type UserViewRedisData struct {
|
|
|
ReportId int `json:"report_id" description:"报告ID"`
|
|
|
ReportChapterId int `json:"report_chapter_id" description:"章节ID"`
|
|
|
StopTime int `json:"stop_time" description:"停留时间"`
|
|
|
+ OutId int `json:"out_id" description:"章节ID"`
|
|
|
}
|
|
|
|
|
|
// PushViewRecordNewRedisData 阅读数据加入到redis
|
|
@@ -336,6 +337,7 @@ func PushViewRecordNewRedisData(userViewHistory *user_view_history.UserViewHisto
|
|
|
UserId: int(userViewHistory.UserID),
|
|
|
ReportId: int(userViewHistory.ResearchReportID),
|
|
|
ReportChapterId: int(userViewHistory.ResearchReportTypeID),
|
|
|
+ OutId: int(userViewHistory.ViewHistoryID),
|
|
|
}
|
|
|
|
|
|
if global.Redis != nil {
|