chanjunkai 5 år sedan
förälder
incheckning
6b1908d25c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Controller/DetectController.py

+ 1 - 1
Controller/DetectController.py

@@ -68,7 +68,7 @@ class NotificationView(View):
             utko = UidTokenObject(uidToken)
             uid = utko.UID
         pkey = '{uid}_{channel}_ptl'.format(uid=uid, channel=channel)
-        ykey = '{uid}_{channel}_redis_qs'.format(uid=uid, channel=channel)
+        ykey = '{uid}_redis_qs'.format(uid=uid, channel=channel)
         dkey = '{uid}_{channel}_{event_type}_flag'.format(uid=uid, event_type=event_type, channel=channel)
         # 判断redisObj.get_data(key=pkey):不为空
         redisObj = RedisObject(db=6)