bugfix
This commit is contained in:
parent
9f99790d38
commit
c64921972f
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user