缓存添加广告创建时间字段

This commit is contained in:
pengtao 2019-09-16 14:20:42 +08:00
parent b88907faaf
commit ae2d68b83a

View File

@ -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: