Ver Fonte

测试提交

lingmin_package@163.com há 3 semanas atrás
pai
commit
ac476c49b5
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/views/system_view.py

+ 2 - 0
src/views/system_view.py

@@ -165,6 +165,8 @@ async def get_logs(
 async def get_user_profile(credentials: HTTPAuthorizationCredentials = Depends(security)):
     """获取用户资料"""
     try:
+
+        # 验证令牌
         # 验证令牌
         payload = verify_token(credentials.credentials)
         if not payload: