调整ad数据库的字段
This commit is contained in:
parent
cb5f8adab2
commit
5608b986b6
@ -45,7 +45,8 @@ def send_cache_data():
|
||||
log.error("split data failed", exc_info=True)
|
||||
|
||||
# 添加有天数限定的记录
|
||||
get_data_sql = f"select id,name,ad_num,ad_title,ad_body,ad_image,jump_param,ad_sort,companyid,locationid,gameid,jump_status from'{now}'>begin_time and '{now}'<end_time ;"
|
||||
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 ;"
|
||||
|
||||
data = mydb.query(get_data_sql)
|
||||
if data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user