From 666f484d623540fdd9d9bd6754574b3b9eaad816 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 21 May 2026 23:02:07 +0800 Subject: [PATCH] bugfix --- dapi/dapi.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dapi/dapi.py b/dapi/dapi.py index 7bde0e4..bc6de7b 100644 --- a/dapi/dapi.py +++ b/dapi/dapi.py @@ -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