This commit is contained in:
yumoqing 2026-02-26 11:19:39 +08:00
parent a563f92fd5
commit 41a7412283

View File

@ -22,7 +22,7 @@ async def discount_qrcode(request, params_kw):
fs = FileStorage()
p = fs._name2path(f'{getID()}.png')
config = getConfig()
gen_qr(url, p, logopath=config.logopath, logoloc='cc')
gen_qr_withlogo(url, p, logopath=config.logopath, logoloc='cc')
webp = fs.webpath(p)
async with get_sor_context(env, 'discount') as sor:
biz_date = await env.get_business_date(sor)