This commit is contained in:
yumoqing 2025-08-14 14:20:06 +08:00
parent 678abd1a85
commit 195f0ecb59

View File

@ -193,7 +193,7 @@ where a.id = b.upappid
and b.ownerid = ${ownerid}$""" and b.ownerid = ${ownerid}$"""
recs = await sor.sqlExe(sql, {'appid':upappid, 'ownerid': callerid}) recs = await sor.sqlExe(sql, {'appid':upappid, 'ownerid': callerid})
if len(recs) < 1: if len(recs) < 1:
e = Exception(f'{appid=}, {callerid=} has not apikey') e = Exception(f'{upappid=}, {callerid=} has not apikey')
exception(f'{e}, {format_exc()}') exception(f'{e}, {format_exc()}')
raise e raise e
r = recs[0] r = recs[0]