This commit is contained in:
yumoqing 2026-05-21 23:02:07 +08:00
parent 78b52c2063
commit 666f484d62

View File

@ -144,7 +144,10 @@ where a.id=b.dappid
"""
env = ServerEnv()
async with get_sor_context(env, 'dapi') as sor:
recs = await sor.sqlExe(sql, {'dappid': dappid})
recs = await sor.sqlExe(sql, {
'dappid': dappid,
'userid': userid
})
if not recs:
debug(f'{dappid=}, {userid=} not exist is downapikey')
return None