This commit is contained in:
yumoqing 2026-03-20 15:51:55 +08:00
parent e81773bb98
commit 8bcc14823d

View File

@ -43,7 +43,7 @@ async def main():
async with db.sqlorContext('sage') as sor:
perms = None
if '%' in path:
perms = await sor.sqlExe('select * from permission where path like ${path}$", {'path': path})
perms = await sor.sqlExe("select * from permission where path like ${path}$", {'path': path})
else:
perms = await sor.R('permission', {'path', path})
if role in ['anonymous', 'logined']: