diff --git a/ad_Readme.md b/ad_Readme.md index 112cb29..4f46363 100644 --- a/ad_Readme.md +++ b/ad_Readme.md @@ -2,11 +2,7 @@ ##### 接口地址 -<<<<<<< HEAD -http://spread.kingsome.cn/webapp/index.php -======= -http://promotion.kingsome.cn/webapp/index.php ->>>>>>> 6e5b56e1f53a0da5d470390653689d7507b00dea + ##### 返回格式:json @@ -14,12 +10,8 @@ http://promotion.kingsome.cn/webapp/index.php ##### 请求示范 -<<<<<<< HEAD + http://spread.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"10034","locationid":1001} -======= -http://promotion.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1003","channelid":6001,"locationid":1001} -http://promotion.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1004","channelid":6001,"area":1} ->>>>>>> 6e5b56e1f53a0da5d470390653689d7507b00dea ##### 请求参数说明 diff --git a/ad_tasks.py b/ad_tasks.py index e3bef5b..34de9f6 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -13,6 +13,11 @@ log = logging.getLogger(__name__) limit = 10 +ad_list_interface_port = 5014 +BEGIN = '1999-01-01' +END = '3000-01-01' + + def send_cache_data(): mydb = MysqlBase(**mysql_promotion_config)