@@ -17,6 +17,7 @@ for c in cursor:
cmd='cwebp '+mobile_h+" -o "+mobile_h+".webp"
print(cmd)
os.system(cmd)
+ mobile_h_url=mobile_h.replace('/home/hhh-images/','https://images.hhh.com.tw/')
sqlcmd='update _had set adlogo_mobile_webp="'+mobile_h+'" where adid="'+str(adid)+'"'
print(sqlcmd)
# db2.query()