This commit is contained in:
yumoqing 2026-03-20 15:52:28 +08:00
parent 8bcc14823d
commit 1afafe5304

View File

@ -16,7 +16,7 @@ async def add_roleperm(sor, roleid, path, permid=None):
if perms:
permid = perms[0].id
ns = {
'roleid': roleid
'roleid': roleid,
'permid': permid
}
recs = await sor.R('rolepermission', ns)