bugfix
This commit is contained in:
parent
5a342b7deb
commit
2530533792
@ -87,8 +87,7 @@ async def get_refundable_plog(request, id):
|
|||||||
dbname = env.get_module_dbname('unipay')
|
dbname = env.get_module_dbname('unipay')
|
||||||
async with db.sqlorContext(dbname) as sor:
|
async with db.sqlorContext(dbname) as sor:
|
||||||
recs = await sor.R('payment_log', {'id':id,
|
recs = await sor.R('payment_log', {'id':id,
|
||||||
'customerid': orgid,
|
'customerid': orgid
|
||||||
'payment_status'
|
|
||||||
})
|
})
|
||||||
if len(recs) < 1:
|
if len(recs) < 1:
|
||||||
debug(f'id({id}) not exists in payment_log or not belong you')
|
debug(f'id({id}) not exists in payment_log or not belong you')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user