diff --git a/discount/init.py b/discount/init.py index 506ecbd..b792c53 100644 --- a/discount/init.py +++ b/discount/init.py @@ -23,7 +23,7 @@ async def discount_qrcode(request, params_kw): webp = fs.webpath(p) async with get_sor_context(env, 'discount') as 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') ret = {