From ea1c9d8313bef85669a40f76cc614765e510e7b2 Mon Sep 17 00:00:00 2001 From: pengtao Date: Fri, 19 Jul 2019 15:57:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4ad=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ad_Readme.md | 18 ++++++++---------- ad_interface_tornado.py | 1 - 2 files changed, 8 insertions(+), 11 deletions(-) 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)