diff --git a/ad_Readme.md b/ad_Readme.md index 6f7557c..62f4109 100644 --- a/ad_Readme.md +++ b/ad_Readme.md @@ -44,18 +44,16 @@ http://ad.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1003:60 "totoal": 3, "result": [ { - "ad_body": "2", - "ad_image": "https://resource.kingsome.cn//ad/0e04000e-a865-11e9-a181-525400ddcafb_512icon(1)(1).png", - "ad_num": "40", + "ad_body": "11", + "ad_image": "https://resource.kingsome.cn//ad/f7daf1a2-a864-11e9-bf18-525400ddcafb_500甜心icon(1)(1).png", "ad_sort": "0", - "ad_title": "2", - "ad_url": "sdfd", - "companyid": "1002", - "gameid": "1004", - "adid": "1010", - "locationid": "1001", - "name": "22" + "ad_title": "aa", + "id": "1009", + "jump_param": "aas1", + "jump_status": "0", + "name": "1122" }, +} #### 2、广告播放上报 diff --git a/ad_interface_tornado.py b/ad_interface_tornado.py index 043ae44..ad9edfe 100644 --- a/ad_interface_tornado.py +++ b/ad_interface_tornado.py @@ -88,7 +88,6 @@ def send_cache_data(): if not my_redis.exists(f"ad::{line['id']}::info"): # remove some filed from adinfo - log.info(f"adinfo was {line}") remove_list = ('ad_num', 'companyid', 'gameid', 'locationid') for item in remove_list: line.pop(item)