调整location area字段名称
This commit is contained in:
parent
fc00921294
commit
13fa5362a7
@ -170,9 +170,10 @@ def send_cache_data():
|
|||||||
if remove_data:
|
if remove_data:
|
||||||
for line in remove_data:
|
for line in remove_data:
|
||||||
try:
|
try:
|
||||||
id, gameid, channelid, locationids = line
|
id, gameid, channelid, locationids, status = line
|
||||||
for locationid in locationids:
|
for locationid in locationids:
|
||||||
area_all = get_area_by_locationid(locationid)
|
area_all = get_area_by_locationid(locationid)
|
||||||
|
print(f"area={area_all}")
|
||||||
for area in area_all.split(','):
|
for area in area_all.split(','):
|
||||||
key = f"ad::{line.get('gameid', 0)}_{locationid}::{line.get('channelid', 0)}::{area}::{locationid}"
|
key = f"ad::{line.get('gameid', 0)}_{locationid}::{line.get('channelid', 0)}::{area}::{locationid}"
|
||||||
if my_redis.sismember(key, id):
|
if my_redis.sismember(key, id):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user