This commit is contained in:
yumoqing 2024-11-11 17:17:55 +08:00
parent f4b66212d5
commit 71be8cf32c

View File

@ -40,7 +40,7 @@ async def get_session_userinfo(request):
async def get_session_user(request):
userinfo = await get_session_userinfo(request)
return userinfo.user
return userinfo.userid
async def user_login(request, userid, username='', userorgid=''):
ui = f'{userid}:{username}:{userorgid}'