This commit is contained in:
yumoqing 2025-12-25 16:39:27 +08:00
parent 5a342b7deb
commit 2530533792

View File

@ -87,8 +87,7 @@ async def get_refundable_plog(request, id):
dbname = env.get_module_dbname('unipay')
async with db.sqlorContext(dbname) as sor:
recs = await sor.R('payment_log', {'id':id,
'customerid': orgid,
'payment_status'
'customerid': orgid
})
if len(recs) < 1:
debug(f'id({id}) not exists in payment_log or not belong you')