This commit is contained in:
yumoqing 2025-09-01 14:20:26 +08:00
parent f67e19b405
commit 4a9fc801ab

View File

@ -57,18 +57,6 @@ async def get_userapikey(sor, upappid, callerid):
None: this orgid has not gotton apikey from upapp
dict if apikey and upapp infos
"""
sql = """select
a.myappid,
a.ownerid as appownerid,
a.baseurl,
a.secretkey,
b.apikey
from upapp a left join
(select * from upappkey
where upappid=${appid}$
and ownerid = ${ownerid}$) b
on a.id = b.upappid
where a.id = ${appid}$"""
sql = """select
a.myappid,
a.ownerid as appownerid,