调整ad数据库的字段

This commit is contained in:
pengtao 2019-07-19 15:44:22 +08:00
parent 5608b986b6
commit bdae37fc65

View File

@ -46,7 +46,7 @@ def send_cache_data():
# 添加有天数限定的记录
get_data_sql = f"select id,name,ad_num,ad_title,ad_body,ad_image,jump_param,ad_sort,companyid,locationid,gameid," \
f"jump_status from ad where {now}'>begin_time and '{now}'<end_time ;"
f"jump_status from ad where '{now}'>begin_time and '{now}'<end_time ;"
data = mydb.query(get_data_sql)
if data: