调整位置服务接口
This commit is contained in:
parent
57e2016334
commit
83bd7d2971
@ -90,7 +90,7 @@ def send_cache_data():
|
|||||||
|
|
||||||
if not my_redis.exists(f"ad::{line['id']}::info"):
|
if not my_redis.exists(f"ad::{line['id']}::info"):
|
||||||
# remove some filed from adinfo
|
# remove some filed from adinfo
|
||||||
remove_list = ('ad_num', 'companyid', 'gameid', 'locationid')
|
remove_list = ('ad_num', 'companyid', 'gameid')
|
||||||
for item in remove_list:
|
for item in remove_list:
|
||||||
line.pop(item)
|
line.pop(item)
|
||||||
my_redis.hmset(f"ad::{line['id']}::info", line)
|
my_redis.hmset(f"ad::{line['id']}::info", line)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user