From 8fe72676a92e312d0424c1f5bcc6bf611e8e6e67 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 21 May 2026 17:02:01 +0800 Subject: [PATCH] bugfix --- dapi/dapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dapi/dapi.py b/dapi/dapi.py index b6cd760..ca41031 100644 --- a/dapi/dapi.py +++ b/dapi/dapi.py @@ -136,7 +136,7 @@ async def get_user_dapp_apikey(dappid, userid): """ 获得用户在downapp的apikey """ - sql = """b.* from downapp a, downapikey b where a.id=b.dappid and a.id=${dappid}$""" + sql = """select b.* from downapp a, downapikey b where a.id=b.dappid and a.id=${dappid}$""" env = ServerEnv() async with get_sor_context(env, 'dapi') as sor: recs = await sor.sqlExe(sql, {'dappid': dappid})