|
@@ -547,11 +547,11 @@ type ReportViewRecord struct {
|
|
// PushViewRecordNewRedisData 阅读数据加入到redis
|
|
// PushViewRecordNewRedisData 阅读数据加入到redis
|
|
func PushViewRecordNewRedisData(reportViewRecord *ReportViewRecord, companyId int) bool {
|
|
func PushViewRecordNewRedisData(reportViewRecord *ReportViewRecord, companyId int) bool {
|
|
data := &UserViewRedisData{
|
|
data := &UserViewRedisData{
|
|
- Mobile: reportViewRecord.Mobile,
|
|
|
|
- Email: reportViewRecord.Email,
|
|
|
|
- RealName: reportViewRecord.RealName,
|
|
|
|
- CompanyName: reportViewRecord.CompanyName,
|
|
|
|
- ViewTime: reportViewRecord.CreateTime.Format(utils.FormatDateTime),
|
|
|
|
|
|
+ Mobile: reportViewRecord.Mobile,
|
|
|
|
+ Email: reportViewRecord.Email,
|
|
|
|
+ RealName: reportViewRecord.RealName,
|
|
|
|
+ CompanyName: reportViewRecord.CompanyName,
|
|
|
|
+ //ViewTime: reportViewRecord.CreateTime.Format(utils.FormatDateTime),
|
|
ProductId: 2,
|
|
ProductId: 2,
|
|
CompanyId: companyId,
|
|
CompanyId: companyId,
|
|
ReportId: reportViewRecord.ReportId,
|
|
ReportId: reportViewRecord.ReportId,
|