fix config not found in crontab
This commit is contained in:
parent
a983d27a00
commit
7322831812
12
ad_Readme.md
12
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
|
||||
|
||||
##### 请求参数说明
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user