Răsfoiți Sursa

优化加密token

peng 10 luni în urmă
părinte
comite
e9bffdc29e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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:
                 #     # 管理员可访问的接口