fix(auth): 修复code登录,生成token id传递错误

This commit is contained in:
xingc
2025-04-22 18:14:56 +08:00
parent c2bf46c60c
commit b843e02039

View File

@@ -103,7 +103,7 @@ async def wechat_login(
await redis_conn.delete(keyname) await redis_conn.delete(keyname)
result = create_access_token({ result = create_access_token({
'sub': str(user.id) 'sub': str(user.user_id)
}) })
return {'data': result} return {'data': result}