调整location area字段名称
This commit is contained in:
parent
6868315b9d
commit
3066ee0169
@ -176,7 +176,7 @@ def send_cache_data():
|
||||
area_all = get_area_by_locationid(locationid)
|
||||
print(f"area={area_all}")
|
||||
for area in area_all.split(','):
|
||||
key = f"ad::{line.get('gameid', 0)}_{locationid}::{line.get('channelid', 0)}::{area}::{locationid}"
|
||||
key = f"ad::{gameid}_{locationid}::{channelid}::{area}::{locationid}"
|
||||
if my_redis.sismember(key, id):
|
||||
my_redis.srem(key, id)
|
||||
my_redis.expire(f"ad::{id}::info", 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user