This commit is contained in:
yumoqing 2026-02-25 11:56:23 +08:00
parent 9f99790d38
commit c64921972f

View File

@ -23,7 +23,7 @@ async def discount_qrcode(request, params_kw):
webp = fs.webpath(p) webp = fs.webpath(p)
async with get_sor_context(env, 'discount') as sor: async with get_sor_context(env, 'discount') as sor:
biz_date = await env.get_business_date(sor) biz_date = await env.get_business_date(sor)
if biz_date <= expired_date: if biz_date >= expired_date:
raise Exception('Promote QRCODE is out of time') raise Exception('Promote QRCODE is out of time')
ret = { ret = {