Commit 999cbdef by 高宇强

gyq

parent 42fd7263
......@@ -34,12 +34,16 @@ def getLogoUrl(inputdata):
elif log_id > 84 and log_id < 87:
model_id = log_id - 78
if type == "standard" or (model_id >=0 and model_id <=8):
select_url='select pic_url from logo_desc where id =%s' %log_id
select_url='select * from logo_desc where id =%s' %log_id
cur.execute(select_url)
pic=cur.fetchone()
logo_url=pic["pic_url"]
else:
select_url = 'select pic_url from big_template where small_id =%s' % log_id
select_url = 'select * from big_template where small_id =%s' % log_id
cur.execute(select_url)
pic=cur.fetchone()
logo_url=pic["pic_url"]
brand_location = pic["text_pos"]
select_url = 'select name from logo_font where id = %s' % font_id
cur.execute(select_url)
pic1=cur.fetchone()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment