添加位置服务接口
This commit is contained in:
parent
7ea08e8757
commit
3be1fcb287
@ -52,6 +52,7 @@ class Ad(Resource):
|
||||
now = datetime.datetime.today().strftime("%Y-%m-%d %H:%M:%S")
|
||||
sel_sql = f"select id,name,begin_time,end_time,ad_num,ad_title,ad_body,ad_image,ad_url,ad_sort from ad where gameid='{gameid}' and locationid='{localid}' and status={status};"
|
||||
data = mydb.query(sel_sql)
|
||||
log.info(f"sql={sel_sql},data={data}")
|
||||
ad_info = {}
|
||||
if data:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user