浏览代码

测试提交

lingmin_package@163.com 3 周之前
父节点
当前提交
ac476c49b5
共有 1 个文件被更改,包括 2 次插入0 次删除
  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: