peng 10 сар өмнө
parent
commit
e9bffdc29e

+ 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:
                 #     # 管理员可访问的接口