缓存添加广告创建时间字段
This commit is contained in:
parent
b88907faaf
commit
ae2d68b83a
@ -74,11 +74,12 @@ def send_cache_data():
|
|||||||
where
|
where
|
||||||
status=1
|
status=1
|
||||||
and in_used=1
|
and in_used=1
|
||||||
and '{now}'> begin_time
|
and '{now}'> {BEGIN}
|
||||||
and '{now}'<end_time )
|
and '{now}'<{END};
|
||||||
"""
|
"""
|
||||||
|
|
||||||
data = mydb.query(get_data_sql)
|
data = mydb.query(get_data_sql)
|
||||||
|
pdb.set_trace()
|
||||||
if data:
|
if data:
|
||||||
for line in data:
|
for line in data:
|
||||||
if line:
|
if line:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user