|
@@ -1142,7 +1142,6 @@ func (s *subscribePush) listManager(spqp *SubPushQueryParam, list []map[string]i
|
|
subscopeclassStr = strings.Join(subscopeclass, ",")
|
|
subscopeclassStr = strings.Join(subscopeclass, ",")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- redisKey := fmt.Sprintf("pushinfo_%s_%s", spqp.UserId, common.ObjToString(v["_id"]))
|
|
|
|
entid := spqp.EntId
|
|
entid := spqp.EntId
|
|
entUserId := spqp.EntUserId
|
|
entUserId := spqp.EntUserId
|
|
deptid := spqp.DeptId
|
|
deptid := spqp.DeptId
|
|
@@ -1158,7 +1157,8 @@ func (s *subscribePush) listManager(spqp *SubPushQueryParam, list []map[string]i
|
|
case SubFreeFlag:
|
|
case SubFreeFlag:
|
|
pushInsert = append(pushInsert, common.InterfaceToStr(spqp.NewUserId), 0)
|
|
pushInsert = append(pushInsert, common.InterfaceToStr(spqp.NewUserId), 0)
|
|
}
|
|
}
|
|
- redis.Put("pushcache_2_a", redisKey, 1, 86400)
|
|
|
|
|
|
+ redis.Put("pushcache_2_a", fmt.Sprintf("pushinfo_%s_%s", spqp.UserId, common.ObjToString(v["_id"])), 1, 86400)
|
|
|
|
+ redis.Put("pushcache_2_c", fmt.Sprintf("inactiveChange_%s_%s", spqp.UserId, common.ObjToString(v["_id"])), 1, 86400)
|
|
resultList[i] = s.InfoFormat(&PushCa{
|
|
resultList[i] = s.InfoFormat(&PushCa{
|
|
InfoId: infoid,
|
|
InfoId: infoid,
|
|
Date: time.Now().Unix(),
|
|
Date: time.Now().Unix(),
|