|
@@ -76,9 +76,9 @@ class NotificationV2View(View):
|
|
|
ykey = '{uid}_redis_qs'.format(uid=uid)
|
|
|
is_sys_msg = self.is_sys_msg(int(event_type))
|
|
|
if is_sys_msg:
|
|
|
- dkey = '{uid}_{channel}_{event_type}_flag'.format(uid=uid, channel=channel, event_type=event_type)
|
|
|
+ dkey = 'push_{uid}_{channel}_{event_type}_flag'.format(uid=uid, channel=channel, event_type=event_type)
|
|
|
else:
|
|
|
- dkey = '{uid}_{channel}_flag'.format(uid=uid, channel=channel)
|
|
|
+ dkey = 'push_{uid}_{channel}_flag'.format(uid=uid, channel=channel)
|
|
|
|
|
|
redisObj = RedisObject(db=6)
|
|
|
have_ykey = redisObj.get_data(key=ykey) # uid_set 数据库缓存
|