|
@@ -548,6 +548,7 @@ type ReportViewRecord struct {
|
|
|
func PushViewRecordNewRedisData(reportViewRecord *ReportViewRecord, companyId int) bool {
|
|
|
data := &UserViewRedisData{
|
|
|
Mobile: reportViewRecord.Mobile,
|
|
|
+ UserId: reportViewRecord.UserId,
|
|
|
Email: reportViewRecord.Email,
|
|
|
RealName: reportViewRecord.RealName,
|
|
|
CompanyName: reportViewRecord.CompanyName,
|
|
@@ -559,6 +560,7 @@ func PushViewRecordNewRedisData(reportViewRecord *ReportViewRecord, companyId in
|
|
|
ReportChapterId: reportViewRecord.ReportChapterId,
|
|
|
OutId: reportViewRecord.OutId,
|
|
|
}
|
|
|
+
|
|
|
if utils.Re == nil {
|
|
|
err := utils.Rc.LPush(utils.CACHE_KEY_USER_VIEW, data)
|
|
|
if err != nil {
|