info key刷新时间调整

This commit is contained in:
pengtao 2019-09-17 16:47:18 +08:00
parent 23266dfef7
commit 14df02de10

View File

@ -31,7 +31,7 @@ class RelushADinfo(Resource):
pdb.set_trace() pdb.set_trace()
if locationid: if locationid:
need_change_keys = set() need_change_keys = set()
key_word = f"ad::*_{locationid}::*::{locationid}" key_word = f"ad::*_{locationid}*::*::{locationid}"
adlists = my_redis.keys(key_word) adlists = my_redis.keys(key_word)
if adlists: if adlists:
for key in adlists: for key in adlists: