소스 검색

优化加密token

peng 10 달 전
부모
커밋
e9bffdc29e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/PctestController.py

+ 1 - 1
Controller/PctestController.py

@@ -49,7 +49,7 @@ class PcTest(View):
                 if tko.code != 0:
                     return response.json(tko.code)
                 # 获取访问者的id和岗位
-                userID = tko.id
+                userID = tko.userID
                 jobID = tko.job
                 # if jobID == 1:
                 #     # 管理员可访问的接口