调试 暂停广告继续播放

This commit is contained in:
pengtao 2019-09-19 19:56:27 +08:00
parent 869afc4290
commit 644ad943ea

View File

@ -176,7 +176,7 @@ def send_cache_data():
if area_all:
for area in area_all.split(','):
area = area.strip()
key = f"ad::{gameid}_{locationid}::{channelid}::{area}::{locationid}"
key = f"ad::{gameid}_{locationid}_{area}::{channelid}::{area}::{locationid}"
values = f"{id}_{locationid}"
print(f"remove {values} from {key}")
if my_redis.sismember(key, values):